Permalink
Browse files

test: refactor test-async-wrap-check-providers

* use 'strictEqual' instead of 'equal'
* use '!==' instead of '!='

PR-URL: #9297
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information...
Gerges Beshay authored and Trott committed Oct 26, 2016
1 parent d93ab51 commit 758ca8d179dd2ddf22c680d812870a12fc9430cd
Showing with 2 additions and 2 deletions.
  1. +2 −2 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() { }
@@ -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);
}
});

0 comments on commit 758ca8d

Please sign in to comment.