summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/integration/repl_tests.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/cli/tests/integration/repl_tests.rs b/cli/tests/integration/repl_tests.rs
index 0fca59473..44036795f 100644
--- a/cli/tests/integration/repl_tests.rs
+++ b/cli/tests/integration/repl_tests.rs
@@ -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