Skip to content

Commit

Permalink
test,repl: use deepStrictEqual for false-y values
Browse files Browse the repository at this point in the history
PR-URL: nodejs#6196
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Minwoo Jung <[email protected]>
  • Loading branch information
Fishrock123 authored and joelostrowski committed Apr 25, 2016
1 parent 8e3182d commit 91822fe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-repl-tab-complete.js
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,7 @@ var spaceTimeout = setTimeout(function() {
}, 1000);

testMe.complete(' ', common.mustCall(function(error, data) {
assert.deepEqual(data, [[], undefined]);
assert.deepStrictEqual(data, [[], undefined]);
clearTimeout(spaceTimeout);
}));

Expand Down Expand Up @@ -255,5 +255,5 @@ putIn.run(['.clear']);
putIn.run(['function a() {}']);

testMe.complete('a().b.', common.mustCall((error, data) => {
assert.deepEqual(data, [[], undefined]);
assert.deepStrictEqual(data, [[], undefined]);
}));

0 comments on commit 91822fe

Please sign in to comment.