Skip to content

Commit

Permalink
Add tests from review
Browse files Browse the repository at this point in the history
  • Loading branch information
sosukesuzuki committed Aug 25, 2021
1 parent 7fc070d commit 5ea75b9
Show file tree
Hide file tree
Showing 12 changed files with 45 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
class Foo {
static private {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"plugins": [
[
"classStaticBlock"
],
[
"typescript"
]
],
"sourceType": "module",
"throws": "Unexpected token (2:17)"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
class Foo {
static protected {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"plugins": [
[
"classStaticBlock"
],
[
"typescript"
]
],
"sourceType": "module",
"throws": "Unexpected token (2:19)"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
class Foo {
static public {}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"plugins": [
[
"classStaticBlock"
],
[
"typescript"
]
],
"sourceType": "module",
"throws": "Unexpected token (2:16)"
}

0 comments on commit 5ea75b9

Please sign in to comment.