Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

fix test warning

Kay Simmons46af9a90ce30
diff --git a/crates/gpui/src/app.rs b/crates/gpui/src/app.rs
index 6e9090db59c..a313cf65c70 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()));