diff --git a/tests/split.rs b/tests/split.rs index 429821e..9af030d 100644 --- a/tests/split.rs +++ b/tests/split.rs @@ -35,6 +35,7 @@ async fn test_split() { assert_eq!(output.next().await.unwrap(), "WINCH\r\n"); } + pty.write_all(&[4u8]).await.unwrap(); pty.write_all(&[4u8]).await.unwrap(); child.wait().await.unwrap(); } @@ -102,6 +103,7 @@ async fn test_into_split() { pty = ptybuf.into_inner().unsplit(pty_w).unwrap(); } + pty.write_all(&[4u8]).await.unwrap(); pty.write_all(&[4u8]).await.unwrap(); child.wait().await.unwrap(); }