Browse Source

test,repl: use deepStrictEqual for false-y values

PR-URL: https://github.com/nodejs/node/pull/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>
process-exit-stdio-flushing
Jeremiah Senkpiel 9 years ago
committed by James M Snell
parent
commit
15d970d65c
  1. 4
      test/parallel/test-repl-tab-complete.js

4
test/parallel/test-repl-tab-complete.js

@ -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);
}));
@ -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]);
}));

Loading…
Cancel
Save