diff options
author | Michaël Zasso <targos@protonmail.com> | 2018-01-02 15:40:25 +0100 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2018-03-07 16:48:52 +0100 |
commit | 5c8937c3c63d4721e0366da0a8a3b2dd10b73395 (patch) | |
tree | 8ae4e31f734d8553a6d1c7cee05057dab310f6e4 /test/message | |
parent | bde8de8892c9f9455cdc06bf030b59e9673eb8c0 (diff) | |
download | android-node-v8-5c8937c3c63d4721e0366da0a8a3b2dd10b73395.tar.gz android-node-v8-5c8937c3c63d4721e0366da0a8a3b2dd10b73395.tar.bz2 android-node-v8-5c8937c3c63d4721e0366da0a8a3b2dd10b73395.zip |
test: fix esm message tests after V8 update
PR-URL: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'test/message')
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> |