Skip to content

Commit ce3f801

Browse files
committed
test: adapt to V8 function name changes
1 parent 44b42e6 commit ce3f801

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

test/message/esm_display_syntax_error.out

-4
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,3 @@ await async () => 0;
55
SyntaxError: Unexpected reserved word
66
at internal/modules/esm/translators.js:*:*
77
at async link (internal/modules/esm/module_job.js:*:*)
8-
at async addJobsToDependencyGraph (internal/modules/esm/module_job.js:*:*)
9-
at async ModuleJob._instantiate (internal/modules/esm/module_job.js:*:*)
10-
at async ModuleJob.run (internal/modules/esm/module_job.js:*:*)
11-
at async Loader.import (internal/modules/esm/loader.js:*:*)

test/message/stdin_messages.out

+4-4
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ SyntaxError: Strict mode code may not include a with statement
1010
at Object.<anonymous> ([stdin]-wrapper:*:*)
1111
at Module._compile (internal/modules/cjs/loader.js:*:*)
1212
at evalScript (internal/process/execution.js:*:*)
13-
at readStdin (internal/main/eval_stdin.js:*:*)
13+
at internal/main/eval_stdin.js:*:*
1414
at Socket.<anonymous> (internal/process/execution.js:*:*)
1515
at Socket.emit (events.js:*:*)
1616
at endReadableNT (_stream_readable.js:*:*)
@@ -27,7 +27,7 @@ Error: hello
2727
at Object.<anonymous> ([stdin]-wrapper:*:*)
2828
at Module._compile (internal/modules/cjs/loader.js:*:*)
2929
at evalScript (internal/process/execution.js:*:*)
30-
at readStdin (internal/main/eval_stdin.js:*:*)
30+
at internal/main/eval_stdin.js:*:*
3131
at Socket.<anonymous> (internal/process/execution.js:*:*)
3232
at Socket.emit (events.js:*:*)
3333
at endReadableNT (_stream_readable.js:*:*)
@@ -42,7 +42,7 @@ Error: hello
4242
at Object.<anonymous> ([stdin]-wrapper:*:*)
4343
at Module._compile (internal/modules/cjs/loader.js:*:*)
4444
at evalScript (internal/process/execution.js:*:*)
45-
at readStdin (internal/main/eval_stdin.js:*:*)
45+
at internal/main/eval_stdin.js:*:*
4646
at Socket.<anonymous> (internal/process/execution.js:*:*)
4747
at Socket.emit (events.js:*:*)
4848
at endReadableNT (_stream_readable.js:*:*)
@@ -58,7 +58,7 @@ ReferenceError: y is not defined
5858
at Object.<anonymous> ([stdin]-wrapper:*:*)
5959
at Module._compile (internal/modules/cjs/loader.js:*:*)
6060
at evalScript (internal/process/execution.js:*:*)
61-
at readStdin (internal/main/eval_stdin.js:*:*)
61+
at internal/main/eval_stdin.js:*:*
6262
at Socket.<anonymous> (internal/process/execution.js:*:*)
6363
at Socket.emit (events.js:*:*)
6464
at endReadableNT (_stream_readable.js:*:*)

0 commit comments

Comments
 (0)