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: #6196
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Minwoo Jung <jmwsoft@gmail.com>
  • Loading branch information
Fishrock123 authored and jasnell committed Apr 18, 2016
1 parent 5c14d69 commit 15d970d
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 15d970d

Please sign in to comment.