Skip to content

Commit 409fd38

Browse files
committed
✅ remove extra test that is syntax error
1 parent c0aa800 commit 409fd38

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/lib/rules/block-scoped-var.js

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,6 @@ new RuleTester().run("block-scoped-var", rule, {
5959
{ type: "Identifier", message: '"a" is already defined.' },
6060
],
6161
},
62-
{
63-
code: "{ var a; function a() {} }",
64-
errors: [
65-
{ type: "Identifier", message: '"a" is already defined.' },
66-
],
67-
},
6862
{
6963
code: "function foo(a) { var a; } var a;",
7064
errors: [

0 commit comments

Comments
 (0)