diff --git a/tests/integration.rs b/tests/integration.rs index a42468050..d59ba5323 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -2119,7 +2119,7 @@ fn pty_read(mut pty: std::fs::File) -> Receiver { thread::sleep(std::time::Duration::new(1, 0)); let mut buf = [0; 512]; match pty.read(&mut buf) { - Ok(_) => { + Ok(_bytes) => { let output = std::str::from_utf8(&buf).unwrap().to_string(); match tx.send(output) { Ok(_) => (),