Skip to content

Commit 7e58da6

Browse files
marco-ippolitoaduh95
authored andcommitted
test: update ts eval snapshots
PR-URL: #56568 Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Pietro Marchini <pietro.marchini94@gmail.com> Reviewed-By: Paolo Insogna <paolo@cowtech.it>
1 parent 0657f62 commit 7e58da6

4 files changed

+0
-15
lines changed

test/fixtures/eval/eval_messages.snapshot

-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ with(this){__filename}
88
: ^^^^
99
`----
1010

11-
Caused by:
12-
failed to parse
13-
1411
SyntaxError: Strict mode code may not include a with statement
1512

1613
Node.js *

test/fixtures/eval/eval_typescript.snapshot

-3
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,6 @@ function foo(){ await Promise.resolve(1)};
4343
: ^^^^^^^
4444
`----
4545

46-
Caused by:
47-
failed to parse
48-
4946
SyntaxError: await is only valid in async functions and the top level bodies of modules
5047

5148
Node.js *

test/fixtures/eval/stdin_messages.snapshot

-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,6 @@ with(this){__filename}
88
: ^^^^
99
`----
1010

11-
Caused by:
12-
failed to parse
13-
1411
SyntaxError: Strict mode code may not include a with statement
1512

1613
Node.js *

test/fixtures/eval/stdin_typescript.snapshot

-6
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,6 @@ function foo(){ await Promise.resolve(1)};
7979
: ^^^^^^^
8080
`----
8181

82-
Caused by:
83-
failed to parse
84-
8582
SyntaxError: await is only valid in async functions and the top level bodies of modules
8683

8784
Node.js *
@@ -94,9 +91,6 @@ function foo(){ await Promise.resolve(1)};
9491
: ^^^^^^^
9592
`----
9693

97-
Caused by:
98-
failed to parse
99-
10094
SyntaxError: await is only valid in async functions and the top level bodies of modules
10195

10296
Node.js *

0 commit comments

Comments
 (0)