From 2d040b49c467dd46a7e371f6f94dc86541946365 Mon Sep 17 00:00:00 2001 From: Gerges Beshay Date: Wed, 26 Oct 2016 17:24:45 +0000 Subject: [PATCH 1/2] test: use 'strictEqual' instead of 'equal' --- test/parallel/test-async-wrap-check-providers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-async-wrap-check-providers.js b/test/parallel/test-async-wrap-check-providers.js index 7591e5799e6ae3..e026cc0b72b6e5 100644 --- a/test/parallel/test-async-wrap-check-providers.js +++ b/test/parallel/test-async-wrap-check-providers.js @@ -119,6 +119,6 @@ process.on('exit', function() { if (keyList.length !== 0) { process._rawDebug('Not all keys have been used:'); process._rawDebug(keyList); - assert.equal(keyList.length, 0); + assert.strictEqual(keyList.length, 0); } }); From 45ecf275e951429442236b0f695b3fae7dfc1a6c Mon Sep 17 00:00:00 2001 From: Gerges Beshay Date: Wed, 26 Oct 2016 20:36:01 +0000 Subject: [PATCH 2/2] test: use '!==' instead of '!=' --- test/parallel/test-async-wrap-check-providers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-async-wrap-check-providers.js b/test/parallel/test-async-wrap-check-providers.js index e026cc0b72b6e5..4264cfc524788e 100644 --- a/test/parallel/test-async-wrap-check-providers.js +++ b/test/parallel/test-async-wrap-check-providers.js @@ -36,7 +36,7 @@ if (common.isAix) { } function init(id, provider) { - keyList = keyList.filter((e) => e != pkeys[provider]); + keyList = keyList.filter((e) => e !== pkeys[provider]); } function noop() { }