Skip to content

Commit 204dee1

Browse files
committedOct 29, 2020
fix tests
1 parent 5c664f2 commit 204dee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/validate-config.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ test('load config in eslint to validate all rule syntax is correct', function (t
99
configFile: 'eslintrc.json'
1010
})
1111

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

1414
t.equal(cli.executeOnText(code).errorCount, 0)
1515
t.end()

0 commit comments

Comments
 (0)
Please sign in to comment.