-
-
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 7f1e182
Showing
148 changed files
with
12,117 additions
and
11,966 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
...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, | ||
"index": 185, | ||
"lineNumber": 4, | ||
"column": 6, | ||
"message": "Cannot use await in class static initialization block" | ||
}; |
1 change: 1 addition & 0 deletions
1
...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
4 changes: 2 additions & 2 deletions
4
...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, | ||
"index": 192, | ||
"lineNumber": 4, | ||
"column": 11, | ||
"message": "Cannot use await in class static initialization block" | ||
}; |
1 change: 1 addition & 0 deletions
1
...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
4 changes: 2 additions & 2 deletions
4
...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, | ||
"index": 182, | ||
"lineNumber": 4, | ||
"column": 12, | ||
"message": "Cannot use await in class static initialization block" | ||
}; |
1 change: 1 addition & 0 deletions
1
...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
4 changes: 2 additions & 2 deletions
4
...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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export default { | ||
"index": 6, | ||
"lineNumber": 3, | ||
"index": 158, | ||
"lineNumber": 4, | ||
"column": 5, | ||
"message": "Cannot use keyword 'await' outside an async function" | ||
}; |
Oops, something went wrong.