From 46af9a90ce3030930697ebb8268a52a35d836e28 Mon Sep 17 00:00:00 2001 From: Kay Simmons Date: Tue, 21 Feb 2023 21:13:03 -0800 Subject: [PATCH] fix test warning --- crates/gpui/src/app.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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()));