1
0
Fork 0
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:
David Sherret 2022-04-26 09:53:22 -04:00 committed by GitHub
parent 74175c039a
commit f07f246ae8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -163,7 +163,11 @@ fn pty_complete_imports() {
let output = console.read_all_output();
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