Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
terminal: Try to fix flaky macOS test (#43971)
Lukas Wirth5b6663ef9764
diff --git a/crates/terminal/src/terminal.rs b/crates/terminal/src/terminal.rsindex 48073aee51a..caca93eac5b 100644--- a/crates/terminal/src/terminal.rs+++ b/crates/terminal/src/terminal.rs@@ -2503,9 +2503,7 @@ mod tests {}).detach();- let first_event = Event::Wakeup;- let wakeup = event_rx.recv().await.expect("No wakeup event received");- assert_eq!(wakeup, first_event, "Expected wakeup, got {wakeup:?}");+ let first_event = event_rx.recv().await.expect("No wakeup event received");terminal.update(cx, |terminal, _| {let success = terminal.try_keystroke(&Keystroke::parse("ctrl-c").unwrap(), false);