Skip to content

Commit

Permalink
✅ remove extra test that is syntax error
Browse files Browse the repository at this point in the history
  • Loading branch information
mysticatea committed Jan 31, 2019
1 parent c0aa800 commit 409fd38
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/lib/rules/block-scoped-var.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,12 +59,6 @@ new RuleTester().run("block-scoped-var", rule, {
{ type: "Identifier", message: '"a" is already defined.' },
],
},
{
code: "{ var a; function a() {} }",
errors: [
{ type: "Identifier", message: '"a" is already defined.' },
],
},
{
code: "function foo(a) { var a; } var a;",
errors: [
Expand Down

0 comments on commit 409fd38

Please sign in to comment.