mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
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:
1 parent
3f73502662
commit
edd8a15508
1 file changed
+2
-2
@@ -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]);
|
||||
}));
|
||||
Reference in new issue
Block a user