diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2024-05-01 12:37:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-01 16:37:17 +0000 |
commit | e0069c87c024589e1e00d0f3e2286ef21efd029e (patch) | |
tree | b504533d52e419f9f48c3dfa2372931cb4eaa610 | |
parent | f270e41aae5466da1df52e9d73198b5067339c8a (diff) |
chore: make a couple repl tests less flaky (#23636)
These were both failing for me from time to time locally.
-rw-r--r-- | tests/integration/repl_tests.rs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tests/integration/repl_tests.rs b/tests/integration/repl_tests.rs index 26a92492c..4dc6ab44c 100644 --- a/tests/integration/repl_tests.rs +++ b/tests/integration/repl_tests.rs @@ -786,7 +786,7 @@ fn pty_clear_function() { console.expect_raw_in_current_output("[1;1H"); } console.expect("undefined"); // advance past the "clear()"'s undefined - console.expect("> "); + console.expect(">"); console.write_line("const clear = 1234 + 2000;"); console.expect("undefined"); console.write_line("clear;"); @@ -899,7 +899,7 @@ fn repl_with_quiet_flag() { } #[test] -fn repl_unit_tests() { +fn repl_deno_test() { util::with_pty(&["repl"], |mut console| { console.write_line_raw( "\ @@ -919,7 +919,6 @@ fn repl_unit_tests() { console.expect("Hello again from outside of test!"); // FIXME(nayeemrmn): REPL unit tests don't support output capturing. console.expect("Hello from inside of test!"); - console.expect("test1 ..."); console.expect(" step1 ... ok ("); console.expect("test1 ... ok ("); console.expect("test2 ... FAILED ("); |