Skip to content

Commit

Permalink
Update test refs
Browse files Browse the repository at this point in the history
  • Loading branch information
kdy1 committed Mar 12, 2023
1 parent a07c98d commit b30ef0b
Show file tree
Hide file tree
Showing 175 changed files with 322 additions and 411 deletions.
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES3For-ofTypeCheck1.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 37,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES3For-ofTypeCheck2.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 41,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES3For-ofTypeCheck4.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"end": 72,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES3For-ofTypeCheck6.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
"end": 72,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES5For-of1.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 74,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
4 changes: 2 additions & 2 deletions crates/swc_ecma_parser/tests/tsc/ES5For-of10.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"end": 113,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "MemberExpression",
"span": {
Expand Down Expand Up @@ -152,7 +152,7 @@
"end": 111,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "MemberExpression",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES5For-of11.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"end": 25,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "Identifier",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES5For-of12.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 25,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "ArrayPattern",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES5For-of13.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 69,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES5For-of14.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 39,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
4 changes: 2 additions & 2 deletions crates/swc_ecma_parser/tests/tsc/ES5For-of15.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 80,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down Expand Up @@ -89,7 +89,7 @@
"end": 78,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
4 changes: 2 additions & 2 deletions crates/swc_ecma_parser/tests/tsc/ES5For-of16.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 91,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down Expand Up @@ -89,7 +89,7 @@
"end": 89,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
4 changes: 2 additions & 2 deletions crates/swc_ecma_parser/tests/tsc/ES5For-of17.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 92,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down Expand Up @@ -89,7 +89,7 @@
"end": 90,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
4 changes: 2 additions & 2 deletions crates/swc_ecma_parser/tests/tsc/ES5For-of18.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 29,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down Expand Up @@ -92,7 +92,7 @@
"end": 58,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
4 changes: 2 additions & 2 deletions crates/swc_ecma_parser/tests/tsc/ES5For-of19.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 111,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down Expand Up @@ -117,7 +117,7 @@
"end": 103,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES5For-of2.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 37,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
4 changes: 2 additions & 2 deletions crates/swc_ecma_parser/tests/tsc/ES5For-of21.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 49,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down Expand Up @@ -71,7 +71,7 @@
"end": 47,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES5For-of22.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 65,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES5For-of23.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 65,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES5For-of24.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"end": 55,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES5For-of25.json
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
"end": 73,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES5For-of26.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 72,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES5For-of27.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 59,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES5For-of28.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 53,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES5For-of29.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 61,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES5For-of3.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 65,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES5For-of30.json
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@
"end": 115,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "ArrayPattern",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES5For-of31.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
"end": 80,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "ObjectPattern",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES5For-of33.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 102,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES5For-of34.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"end": 145,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "MemberExpression",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES5For-of35.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 108,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES5For-of36.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 100,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
4 changes: 2 additions & 2 deletions crates/swc_ecma_parser/tests/tsc/ES5For-of37.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 430,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down Expand Up @@ -152,7 +152,7 @@
"end": 338,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES5For-of4.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 33,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down
2 changes: 1 addition & 1 deletion crates/swc_ecma_parser/tests/tsc/ES5For-of5.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"end": 39,
"ctxt": 0
},
"await": null,
"await": false,
"left": {
"type": "VariableDeclaration",
"span": {
Expand Down

0 comments on commit b30ef0b

Please sign in to comment.