From 6f2f2db1b3241ad473c6639155dce8ccf802f914 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 29 Jan 2025 01:54:52 -0500 Subject: [PATCH] wip --- tests/winch.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/winch.rs b/tests/winch.rs index c441d86..b816858 100644 --- a/tests/winch.rs +++ b/tests/winch.rs @@ -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); } @@ -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); }