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: https://github.com/nodejs/node/pull/8190
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Jason Hedrick authored and Evan Lucas committed 2016-08-24 08:01:50 -05:00
1 parent 7f34cc3e03
commit b0619e8dff
1 file changed
+1 -1
+1 -1
View File
@@ -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() {