terminal: Try to fix flaky macOS test (#43971)

Release Notes:

- N/A *or* Added/Fixed/Improved ...
This commit is contained in:
Lukas Wirth
2025-12-02 08:21:18 +00:00
committed by GitHub
parent f445f22fe6
commit 5b6663ef97
+1 -3
View File
@@ -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);