diff --git a/crates/gpui/src/app.rs b/crates/gpui/src/app.rs index 6e9090db59c85fba15bcd17f59d1642bfa94e115..a313cf65c70c39848ee19447918ae876389f3e2a 100644 --- a/crates/gpui/src/app.rs +++ b/crates/gpui/src/app.rs @@ -6906,7 +6906,10 @@ mod tests { Some("Test Label"), cx.update(|cx| cx.active_labeled_tasks().next()) ); - sender.send(()).await; + sender + .send(()) + .await + .expect("Could not send message to complete task"); task.await; assert_eq!(None, cx.update(|cx| cx.active_labeled_tasks().next()));