-
-
Notifications
You must be signed in to change notification settings - Fork 196
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Chore: add class static blocks tests (refs eslint/eslint#15016)
acorn has been upgraded in ee1d3ec, this commit simiply added some tests. The tests were copied from test262, refs: tc39/test262@afe217b
- Loading branch information
1 parent
593148d
commit 657fd74
Showing
169 changed files
with
6,321 additions
and
6,107 deletions.
There are no files selected for viewing
6 changes: 6 additions & 0 deletions
6
...class-static-blocks/expressions-arrow-function-static-init-await-binding.module-result.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export default { | ||
"index": 170, | ||
"lineNumber": 2, | ||
"column": 3, | ||
"message": "The keyword 'static' is reserved" | ||
}; |
8 changes: 4 additions & 4 deletions
8
...ion/13/class-static-blocks/expressions-arrow-function-static-init-await-binding.result.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export default { | ||
"index": 26, | ||
"lineNumber": 3, | ||
"column": 6, | ||
"message": "Cannot use await in class static initialization block" | ||
"index": 177, | ||
"lineNumber": 2, | ||
"column": 10, | ||
"message": "Unexpected token {" | ||
}; |
2 changes: 1 addition & 1 deletion
2
...ersion/13/class-static-blocks/expressions-arrow-function-static-init-await-binding.src.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
...ass-static-blocks/expressions-arrow-function-static-init-await-reference.module-result.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export default { | ||
"index": 172, | ||
"lineNumber": 2, | ||
"column": 3, | ||
"message": "The keyword 'static' is reserved" | ||
}; |
8 changes: 4 additions & 4 deletions
8
...n/13/class-static-blocks/expressions-arrow-function-static-init-await-reference.result.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export default { | ||
"index": 31, | ||
"lineNumber": 3, | ||
"column": 11, | ||
"message": "Cannot use await in class static initialization block" | ||
"index": 179, | ||
"lineNumber": 2, | ||
"column": 10, | ||
"message": "Unexpected token {" | ||
}; |
2 changes: 1 addition & 1 deletion
2
...sion/13/class-static-blocks/expressions-arrow-function-static-init-await-reference.src.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
...rsion/13/class-static-blocks/expressions-class-static-init-await-binding.module-result.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
export default { | ||
"index": 161, | ||
"lineNumber": 2, | ||
"column": 3, | ||
"message": "The keyword 'static' is reserved" | ||
}; |
8 changes: 4 additions & 4 deletions
8
...ecma-version/13/class-static-blocks/expressions-class-static-init-await-binding.result.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export default { | ||
"index": 32, | ||
"lineNumber": 3, | ||
"column": 12, | ||
"message": "Cannot use await in class static initialization block" | ||
"index": 168, | ||
"lineNumber": 2, | ||
"column": 10, | ||
"message": "Unexpected token {" | ||
}; |
2 changes: 1 addition & 1 deletion
2
...es/ecma-version/13/class-static-blocks/expressions-class-static-init-await-binding.src.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...ion/13/class-static-blocks/expressions-class-static-init-await-reference.module-result.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.