Skip to content

Commit

Permalink
chore: fix flaky pty_internal_repl (#18486)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsherret authored and mmastrac committed Mar 31, 2023
1 parent 269af39 commit dba4b6c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions cli/tests/integration/repl_tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,8 @@ fn pty_assign_deno_keys_and_deno() {
#[test]
fn pty_internal_repl() {
util::with_pty(&["repl"], |mut console| {
console.write_line("globalThis");
console.write_line_raw("1 + 256");
let output = console.read_until("257");
assert_contains!(output, "clear:");
assert_not_contains!(output, "__DENO_");
console.write_line("'Length: ' + Object.keys(globalThis).filter(k => k.startsWith('__DENO_')).length;");
console.expect("Length: 0");

console.write_line_raw("__\t\t");
console.expect("> __");
Expand Down

0 comments on commit dba4b6c

Please sign in to comment.