summaryrefslogtreecommitdiff
path: root/cli/tests/integration/repl_tests.rs
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2022-04-08 12:31:47 -0400
committerGitHub <noreply@github.com>2022-04-08 12:31:47 -0400
commita4c1e1bdcf3bd295d624c266278670e08227b26b (patch)
tree49ca167dc1c867337d834327987c95f72b57b086 /cli/tests/integration/repl_tests.rs
parente411747e24b998c8178d0689aa7d63b0ad0e7046 (diff)
fix: upgrade to swc_ecmascript 0.143 (#14238)
Diffstat (limited to 'cli/tests/integration/repl_tests.rs')
-rw-r--r--cli/tests/integration/repl_tests.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/cli/tests/integration/repl_tests.rs b/cli/tests/integration/repl_tests.rs
index edade5d92..59acc7dfb 100644
--- a/cli/tests/integration/repl_tests.rs
+++ b/cli/tests/integration/repl_tests.rs
@@ -79,7 +79,8 @@ fn pty_syntax_error_input() {
console.write_line("close();");
let output = console.read_all_output();
- assert!(output.contains("Expected 4 hex characters"));
+ assert!(output
+ .contains("Bad character escape sequence, expected 4 hex characters"));
assert!(output.contains("Unterminated string constant"));
assert!(output.contains("Expected a semicolon"));
});
@@ -162,7 +163,7 @@ fn pty_complete_imports() {
let output = console.read_all_output();
assert!(output.contains("Hello World"));
- assert!(output.contains("\ntesting output"));
+ assert!(output.contains("testing output\u{1b}"));
});
// ensure when the directory changes that the suggestions come from the cwd