Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
feross committed Oct 29, 2020
1 parent 5c664f2 commit 204dee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/validate-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ test('load config in eslint to validate all rule syntax is correct', function (t
configFile: 'eslintrc.json'
})

const code = 'var foo = 1\nvar bar = function () {}\nbar(foo)\n'
const code = 'const foo = 1\nconst bar = function () {}\nbar(foo)\n'

t.equal(cli.executeOnText(code).errorCount, 0)
t.end()
Expand Down

0 comments on commit 204dee1

Please sign in to comment.