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>
This commit is contained in:
parent
5c14d695d2
commit
15d970d65c
@ -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…
x
Reference in New Issue
Block a user