Skip to content

Commit 5c8937c

Browse files
committed
test: fix esm message tests after V8 update
PR-URL: #18453 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Yang Guo <yangguo@chromium.org> Reviewed-By: Ali Ijaz Sheikh <ofrobots@google.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
1 parent bde8de8 commit 5c8937c

File tree

4 files changed

+2
-6
lines changed

4 files changed

+2
-6
lines changed

β€Žtest/message/esm_display_syntax_error.outβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ await async () => 0;
44
^^^^^
55
SyntaxError: Unexpected reserved word
66
at translators.set (internal/loader/Translators.js:*:*)
7-
at <anonymous>

β€Žtest/message/esm_display_syntax_error_import.outβ€Ž

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
file:///*/test/message/esm_display_syntax_error_import.mjs:6
33
notfound
44
^^^^^^^^
5-
SyntaxError: The requested module does not provide an export named 'notfound'
5+
SyntaxError: The requested module '../fixtures/es-module-loaders/module-named-exports' does not provide an export named 'notfound'
66
at ModuleJob._instantiate (internal/loader/ModuleJob.js:*:*)
7-
at <anonymous>

β€Žtest/message/esm_display_syntax_error_import_module.outβ€Ž

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
file:///*/test/fixtures/es-module-loaders/syntax-error-import.mjs:1
33
import { foo, notfound } from './module-named-exports';
44
^^^^^^^^
5-
SyntaxError: The requested module does not provide an export named 'notfound'
5+
SyntaxError: The requested module './module-named-exports' does not provide an export named 'notfound'
66
at ModuleJob._instantiate (internal/loader/ModuleJob.js:*:*)
7-
at <anonymous>

β€Žtest/message/esm_display_syntax_error_module.outβ€Ž

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ await async () => 0;
44
^^^^^
55
SyntaxError: Unexpected reserved word
66
at translators.set (internal/loader/Translators.js:*:*)
7-
at <anonymous>

0 commit comments

Comments
Β (0)