Skip to content

Commit dab099a

Browse files
committed
Replace t.ok with t.equal
1 parent 9567c3a commit dab099a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/validate-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ test('load config in eslint to validate all rule syntax is correct', function (t
1111

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

14-
t.ok(cli.executeOnText(code).errorCount === 0)
14+
t.equal(cli.executeOnText(code).errorCount, 0)
1515
t.end()
1616
})

0 commit comments

Comments
 (0)