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 Myles Borins committed Apr 20, 2016
1 parent b22ab38 commit 763a867
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 @@ -178,7 +178,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 @@ -257,5 +257,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 763a867

Please sign in to comment.