Skip to content

Commit d284bab

Browse files
committed
Regenerate tests
1 parent 0e27fb9 commit d284bab

14 files changed

+27
-54
lines changed

test/language/module-code/top-level-await/syntax/block-await-expr-template-literal.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,7 @@ info: |
5656
{
5757
{
5858
{
59-
await ``
60-
;
59+
await ``;
6160
}
6261
}
6362
}

test/language/module-code/top-level-await/syntax/export-class-decl-await-expr-template-literal.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,4 @@ function fn() {
6565
return function() {};
6666
}
6767
// extends CallExpression with arguments
68-
export class C extends fn(await ``
69-
) {};
68+
export class C extends fn(await ``) {};

test/language/module-code/top-level-await/syntax/export-dflt-assign-expr-await-expr-template-literal.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,5 +61,4 @@ info: |
6161
---*/
6262

6363

64-
export default await ``
65-
;
64+
export default await ``;

test/language/module-code/top-level-await/syntax/export-dft-class-decl-await-expr-template-literal.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,5 +65,4 @@ function fn() {
6565
return function() {};
6666
}
6767
// extends CallExpression with arguments
68-
export default class extends fn(await ``
69-
) {};
68+
export default class extends fn(await ``) {};

test/language/module-code/top-level-await/syntax/export-lex-decl-await-expr-template-literal.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,5 @@ info: |
5757
---*/
5858

5959

60-
export let x = await ``
61-
;
62-
export const y = await ``
63-
;
60+
export let x = await ``;
61+
export const y = await ``;

test/language/module-code/top-level-await/syntax/export-var-await-expr-template-literal.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,5 @@ info: |
6060
---*/
6161

6262

63-
export var name1 = await ``
64-
;
65-
export var name2 = {} = await ``
66-
;
63+
export var name1 = await ``;
64+
export var name2 = {} = await ``;

test/language/module-code/top-level-await/syntax/for-await-await-expr-template-literal.js

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -49,25 +49,19 @@ info: |
4949
var binding;
5050

5151
// [+Await]for await ( [lookahead ≠ let] LeftHandSideExpression[?Yield, ?Await] of AssignmentExpression[+In, ?Yield, ?Await] ) Statement[?Yield, ?Await, ?Return]
52-
for await (binding of [await ``
53-
]) {
54-
await ``
55-
;
52+
for await (binding of [await ``]) {
53+
await ``;
5654
break;
5755
}
5856

5957
// [+Await]for await ( var ForBinding[?Yield, ?Await] of AssignmentExpression[+In, ?Yield, ?Await] ) Statement[?Yield, ?Await, ?Return]
60-
for await (var binding of [await ``
61-
]) {
62-
await ``
63-
;
58+
for await (var binding of [await ``]) {
59+
await ``;
6460
break;
6561
}
6662

6763
// [+Await]for await ( ForDeclaration[?Yield, ?Await] of AssignmentExpression[+In, ?Yield, ?Await] ) Statement[?Yield, ?Await, ?Return]
68-
for await (let binding of [await ``
69-
]) {
70-
await ``
71-
;
64+
for await (let binding of [await ``]) {
65+
await ``;
7266
break;
7367
}

test/language/module-code/top-level-await/syntax/if-block-await-expr-template-literal.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,5 @@ info: |
4646

4747

4848
if (true) {
49-
await ``
50-
;
49+
await ``;
5150
}

test/language/module-code/top-level-await/syntax/if-expr-await-expr-template-literal.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,5 +45,4 @@ info: |
4545
---*/
4646

4747

48-
if (await ``
49-
) {}
48+
if (await ``) {}

test/language/module-code/top-level-await/syntax/top-level-await-expr-template-literal.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,4 @@ info: |
3939
---*/
4040

4141

42-
await ``
43-
;
42+
await ``;

0 commit comments

Comments
 (0)