Skip to content

Commit

Permalink
Merge pull request #49 from danyshaanan/patch-1
Browse files Browse the repository at this point in the history
Replace t.ok with t.equal
  • Loading branch information
feross authored Sep 27, 2016
2 parents 9567c3a + dab099a commit cefa263
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 @@ -11,6 +11,6 @@ test('load config in eslint to validate all rule syntax is correct', function (t

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

t.ok(cli.executeOnText(code).errorCount === 0)
t.equal(cli.executeOnText(code).errorCount, 0)
t.end()
})

0 comments on commit cefa263

Please sign in to comment.