diff options
Diffstat (limited to 'tests/integration')
| -rw-r--r-- | tests/integration/run_tests.rs | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/integration/run_tests.rs b/tests/integration/run_tests.rs index 91370a87c..f7aaa9daf 100644 --- a/tests/integration/run_tests.rs +++ b/tests/integration/run_tests.rs @@ -3142,6 +3142,20 @@ itest!(byte_order_mark { }); #[test] +#[cfg(windows)] +fn process_stdin_read_unblock() { + TestContext::default() + .new_command() + .args_vec(["run", "run/process_stdin_unblock.mjs"]) + .with_pty(|mut console| { + console.write_raw("b"); + console.human_delay(); + console.write_line_raw("s"); + console.expect_all(&["1", "1"]); + }); +} + +#[test] fn issue9750() { TestContext::default() .new_command() |
