From ccd1b9de7863970f20e00eabc19a22e241b9a121 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Wed, 29 Jan 2025 01:30:19 -0500 Subject: [PATCH] wip --- tests/split.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/split.rs b/tests/split.rs index 45dc2a9..fc936e6 100644 --- a/tests/split.rs +++ b/tests/split.rs @@ -36,7 +36,8 @@ async fn test_split() { } pty.write_all(&[4u8]).await.unwrap(); - pty.write_all(&[4u8]).await.unwrap(); + drop(pty); + drop(pts); child.wait().await.unwrap(); } @@ -104,7 +105,8 @@ async fn test_into_split() { } pty.write_all(&[4u8]).await.unwrap(); - pty.write_all(&[4u8]).await.unwrap(); + drop(pty); + drop(pts); child.wait().await.unwrap(); }