Skip to content

Commit aa5e38b

Browse files
Update test/parallel/test-repl-preprocess-top-level-await.js
Co-authored-by: Darshan Sen <[email protected]>
1 parent 764154c commit aa5e38b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-repl-preprocess-top-level-await.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ const testCases = [
118118
[ 'for (const i in {x:1}) { await 1 }',
119119
'(async () => { for (const i in {x:1}) { await 1 } })()'],
120120
[ 'var x = await foo(); async function foo() { return Promise.resolve(1);}',
121-
'var x; var foo; (async () => {void (x = await foo()); this.foo = foo; ' +
121+
'var x; var foo; (async () => { void (x = await foo()); this.foo = foo; ' +
122122
'async function foo() { return Promise.resolve(1);} })()'],
123123
];
124124

0 commit comments

Comments
 (0)