mirror of
https://github.com/denoland/deno.git
synced 2024-12-21 23:04:45 -05:00
chore: fix pty_complete_imports test on linux/mac (#15191)
This commit is contained in:
parent
698eeb90fd
commit
944d708e3c
1 changed files with 5 additions and 1 deletions
|
@ -185,10 +185,14 @@ fn pty_complete_imports() {
|
|||
let output = console.read_all_output();
|
||||
assert_contains!(output, "Hello World");
|
||||
});
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn pty_complete_imports_no_panic_empty_specifier() {
|
||||
// does not panic when tabbing when empty
|
||||
util::with_pty(&["repl"], |mut console| {
|
||||
console.write_line("import '\t");
|
||||
console.write_line("import '\t';");
|
||||
console.write_line("close();");
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue