summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/message/esm_display_syntax_error.out1
-rw-r--r--test/message/esm_display_syntax_error_import.out3
-rw-r--r--test/message/esm_display_syntax_error_import_module.out3
-rw-r--r--test/message/esm_display_syntax_error_module.out1
4 files changed, 2 insertions, 6 deletions
diff --git a/test/message/esm_display_syntax_error.out b/test/message/esm_display_syntax_error.out
index a47a7e1339..57d39e6c79 100644
--- a/test/message/esm_display_syntax_error.out
+++ b/test/message/esm_display_syntax_error.out
@@ -4,4 +4,3 @@ await async () => 0;
^^^^^
SyntaxError: Unexpected reserved word
at translators.set (internal/loader/Translators.js:*:*)
- at <anonymous>
diff --git a/test/message/esm_display_syntax_error_import.out b/test/message/esm_display_syntax_error_import.out
index 1fb7fdc34a..617ecd09ef 100644
--- a/test/message/esm_display_syntax_error_import.out
+++ b/test/message/esm_display_syntax_error_import.out
@@ -2,6 +2,5 @@
file:///*/test/message/esm_display_syntax_error_import.mjs:6
notfound
^^^^^^^^
-SyntaxError: The requested module does not provide an export named 'notfound'
+SyntaxError: The requested module '../fixtures/es-module-loaders/module-named-exports' does not provide an export named 'notfound'
at ModuleJob._instantiate (internal/loader/ModuleJob.js:*:*)
- at <anonymous>
diff --git a/test/message/esm_display_syntax_error_import_module.out b/test/message/esm_display_syntax_error_import_module.out
index 77fd63891f..2e7ea8e572 100644
--- a/test/message/esm_display_syntax_error_import_module.out
+++ b/test/message/esm_display_syntax_error_import_module.out
@@ -2,6 +2,5 @@
file:///*/test/fixtures/es-module-loaders/syntax-error-import.mjs:1
import { foo, notfound } from './module-named-exports';
^^^^^^^^
-SyntaxError: The requested module does not provide an export named 'notfound'
+SyntaxError: The requested module './module-named-exports' does not provide an export named 'notfound'
at ModuleJob._instantiate (internal/loader/ModuleJob.js:*:*)
- at <anonymous>
diff --git a/test/message/esm_display_syntax_error_module.out b/test/message/esm_display_syntax_error_module.out
index 23da9f350e..56bbac9307 100644
--- a/test/message/esm_display_syntax_error_module.out
+++ b/test/message/esm_display_syntax_error_module.out
@@ -4,4 +4,3 @@ await async () => 0;
^^^^^
SyntaxError: Unexpected reserved word
at translators.set (internal/loader/Translators.js:*:*)
- at <anonymous>