Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
doy committed Jan 29, 2025
1 parent a57ca31 commit 6f2f2db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/winch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ fn test_winch_std() {
assert_eq!(output.next().unwrap(), "WINCH\r\n");

pty.write_all(b"\n").unwrap();
drop(pts);
let status = child.wait().unwrap();
assert_eq!(status.code().unwrap(), 0);
}
Expand Down Expand Up @@ -49,6 +50,7 @@ async fn test_winch_async() {
assert_eq!(output.next().await.unwrap(), "WINCH\r\n");

pty_w.write_all(b"\n").await.unwrap();
drop(pts);
let status = child.wait().await.unwrap();
assert_eq!(status.code().unwrap(), 0);
}

0 comments on commit 6f2f2db

Please sign in to comment.