diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/integration/compile_tests.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/integration/compile_tests.rs b/tests/integration/compile_tests.rs index c902adfb2..17054637e 100644 --- a/tests/integration/compile_tests.rs +++ b/tests/integration/compile_tests.rs @@ -107,7 +107,6 @@ fn standalone_error() { // On Windows, we cannot assert the file path (because '\'). // Instead we just check for relevant output. assert_contains!(stderr, "error: Uncaught (in promise) Error: boom!"); - assert_contains!(stderr, "throw new Error(\"boom!\");"); assert_contains!(stderr, "\n at boom (file://"); assert_contains!(stderr, "standalone_error.ts:2:9"); assert_contains!(stderr, "at foo (file://"); @@ -147,7 +146,6 @@ fn standalone_error_module_with_imports() { // On Windows, we cannot assert the file path (because '\'). // Instead we just check for relevant output. assert_contains!(stderr, "error: Uncaught (in promise) Error: boom!"); - assert_contains!(stderr, "throw new Error(\"boom!\");"); assert_contains!(stderr, "\n at file://"); assert_contains!(stderr, "standalone_error_module_with_imports_2.ts:2:7"); output.assert_exit_code(1); |