Skip to content
Permalink
Browse files

test,repl: use deepStrictEqual for false-y values

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 MylesBorins committed Apr 14, 2016
1 parent 3f73502 commit edd8a1550834f2fe141c3c00a94947589b0bb98d
Showing with 2 additions and 2 deletions.
  1. +2 −2 test/parallel/test-repl-tab-complete.js
@@ -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);
}));

@@ -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 edd8a15

Please sign in to comment.
You can’t perform that action at this time.