Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
Fix `basic_terminal` test flake (#56659)
Ben Kunklef56219e5036e
diff --git a/crates/terminal/src/terminal.rs b/crates/terminal/src/terminal.rsindex 7069110edd3..00aa2cbb01b 100644--- a/crates/terminal/src/terminal.rs+++ b/crates/terminal/src/terminal.rs@@ -2741,10 +2741,7 @@ mod tests {completion_rx.recv().await.unwrap(),Some(ExitStatus::default()));- assert_eq!(- terminal.update(cx, |term, _| term.get_content()).trim(),- "hello"- );+ assert_content_eventually(&terminal, "hello", cx).await;// Inject additional output directly into the emulator (display-only path)terminal.update(cx, |term, cx| {