Skip to content

Commit

Permalink
fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lukehaas committed Jun 5, 2024
1 parent 7eb9bb4 commit 86a199d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-repl-preprocess-top-level-await.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,8 +145,8 @@ const testCases = [
[ 'await (await x).y',
'(async () => { return { value: (await (await x).y) } })()'],
[ 'var { ...rest } = await {}',
'var rest; (async () => { void ({ ...rest } = await {}) })()'
]
'var rest; (async () => { void ({ ...rest } = await {}) })()',
],
];

for (const [input, expected] of testCases) {
Expand Down

0 comments on commit 86a199d

Please sign in to comment.