Permalink
Browse files

test: comparison operator now more strict

The 'equals' comparison operator was '==' instead of the
more strict '===', so it has been changed to be more strict

PR-URL: #8190
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information...
thecoolestguy authored and jasnell committed Aug 19, 2016
1 parent 1df3797 commit d9041631196a33e7edbd977ef861ebac8ed89fd0
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/parallel/test-timers-zero-timeout.js
@@ -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() {

0 comments on commit d904163

Please sign in to comment.