mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 07:14:47 -05:00
chore: fix pty_complete_imports test (#14400)
This commit is contained in:
parent
74175c039a
commit
f07f246ae8
1 changed files with 5 additions and 1 deletions
|
@ -163,7 +163,11 @@ fn pty_complete_imports() {
|
||||||
|
|
||||||
let output = console.read_all_output();
|
let output = console.read_all_output();
|
||||||
assert!(output.contains("Hello World"));
|
assert!(output.contains("Hello World"));
|
||||||
assert!(output.contains("testing output\u{1b}"));
|
if cfg!(windows) {
|
||||||
|
assert!(output.contains("testing output\u{1b}"));
|
||||||
|
} else {
|
||||||
|
assert!(output.contains("\ntesting output"));
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// ensure when the directory changes that the suggestions come from the cwd
|
// ensure when the directory changes that the suggestions come from the cwd
|
||||||
|
|
Loading…
Reference in a new issue