diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2022-04-26 09:53:22 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-26 09:53:22 -0400 |
commit | f07f246ae8a158e33e81aa4ccf225cd536795f50 (patch) | |
tree | 4d346964213b6333c3f20c744b575ad0d7d0ba36 /cli/tests/integration/repl_tests.rs | |
parent | 74175c039ae0f1c75ca6a006262c1541f770b090 (diff) |
chore: fix pty_complete_imports test (#14400)
Diffstat (limited to 'cli/tests/integration/repl_tests.rs')
-rw-r--r-- | cli/tests/integration/repl_tests.rs | 6 |
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 |