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 3f73502 commit edd8a15
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-repl-tab-complete.js
Expand Up @@ -178,7 +178,7 @@ var spaceTimeout = setTimeout(function() {
}, 1000); }, 1000);


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


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


testMe.complete('a().b.', common.mustCall((error, data) => { 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.