Skip to content

Commit

Permalink
test: comparison operator now more strict
Browse files Browse the repository at this point in the history
The 'equals' comparison operator was '==' instead of the more strict '===', so it has been changed to be more strict
  • Loading branch information
thecoolestguy committed Aug 19, 2016
1 parent 7600707 commit 45d1612
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-timers-zero-timeout.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const assert = require('assert');
assert.strictEqual(a, 'foo');
assert.strictEqual(b, 'bar');
assert.strictEqual(c, 'baz');
if (++ncalled == 3) clearTimeout(iv);
if (++ncalled === 3) clearTimeout(iv);
}

process.on('exit', function() {
Expand Down

0 comments on commit 45d1612

Please sign in to comment.