Skip to content

Commit d64039f

Browse files
committed
Fix test
1 parent 6fa0c10 commit d64039f

2 files changed

Lines changed: 1 addition & 19 deletions

File tree

tests/format/js/async-do-expressions/__snapshots__/format.test.js.snap

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Jest Snapshot v1, https://goo.gl/fbAQLP
1+
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
22

33
exports[`async-do-expressions.js [acorn] format 1`] = `
44
"Unexpected token (1:7)
@@ -61,12 +61,6 @@ async do {
6161
await 42
6262
}
6363
64-
function iter() {
65-
return async do {
66-
return 1;
67-
}
68-
};
69-
7064
let x = async do {
7165
let tmp = f();
7266
tmp * tmp + 1
@@ -93,12 +87,6 @@ let x = async do {
9387
await 42;
9488
});
9589
96-
function iter() {
97-
return async do {
98-
return 1;
99-
};
100-
}
101-
10290
let x = async do {
10391
let tmp = f();
10492
tmp * tmp + 1;

tests/format/js/async-do-expressions/async-do-expressions.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,6 @@ async do {
1414
await 42
1515
}
1616

17-
function iter() {
18-
return async do {
19-
return 1;
20-
}
21-
};
22-
2317
let x = async do {
2418
let tmp = f();
2519
tmp * tmp + 1

0 commit comments

Comments
 (0)