Skip to content

Commit f56219e

Browse files
authored
Fix basic_terminal test flake (#56659)
Missed a test in #56194 with the same issue, and it bit me today :( Self-Review Checklist: - [x] I've reviewed my own diff for quality, security, and reliability - [x] Unsafe blocks (if any) have justifying comments - [x] The content is consistent with the [UI/UX checklist](https://github.com/zed-industries/zed/blob/main/CONTRIBUTING.md#uiux-checklist) - [x] Tests cover the new/changed behavior - [x] Performance impact has been considered and is acceptable Closes #ISSUE Release Notes: - N/A or Added/Fixed/Improved ...
1 parent f1a7567 commit f56219e

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

crates/terminal/src/terminal.rs

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2741,10 +2741,7 @@ mod tests {
27412741
completion_rx.recv().await.unwrap(),
27422742
Some(ExitStatus::default())
27432743
);
2744-
assert_eq!(
2745-
terminal.update(cx, |term, _| term.get_content()).trim(),
2746-
"hello"
2747-
);
2744+
assert_content_eventually(&terminal, "hello", cx).await;
27482745

27492746
// Inject additional output directly into the emulator (display-only path)
27502747
terminal.update(cx, |term, cx| {

0 commit comments

Comments
 (0)