terminal: Try to fix flaky macOS test (#43971)
Release Notes: - N/A *or* Added/Fixed/Improved ...
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user