From fb41b92a83725827bc4b5a00ce7ec8327e68a114 Mon Sep 17 00:00:00 2001 From: Jeremiah Senkpiel Date: Thu, 14 Apr 2016 10:56:48 -0400 Subject: [PATCH] test,repl: use deepStrictEqual for false-y values PR-URL: https://github.com/nodejs/node/pull/6196 Reviewed-By: Colin Ihrig Reviewed-By: Rich Trott Reviewed-By: James M Snell Reviewed-By: Minwoo Jung --- test/parallel/test-repl-tab-complete.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/parallel/test-repl-tab-complete.js b/test/parallel/test-repl-tab-complete.js index 27179472d00d00..551e7b6fa72b88 100644 --- a/test/parallel/test-repl-tab-complete.js +++ b/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]); }));