summaryrefslogtreecommitdiff
path: root/cli/tests
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests')
-rw-r--r--cli/tests/integration/repl_tests.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/tests/integration/repl_tests.rs b/cli/tests/integration/repl_tests.rs
index e6fc7aa91..77a534d2e 100644
--- a/cli/tests/integration/repl_tests.rs
+++ b/cli/tests/integration/repl_tests.rs
@@ -814,6 +814,10 @@ fn repl_reject() {
console.expect(" at <anonymous>");
console.write_line("console.log(2);");
console.expect("2");
+ console.write_line(r#"throw "hello";"#);
+ console.expect(r#"Uncaught "hello""#);
+ console.write_line(r#"throw `hello ${"world"}`;"#);
+ console.expect(r#"Uncaught "hello world""#);
});
}