Skip to content

Commit

Permalink
test: refactor test-async-wrap-check-providers
Browse files Browse the repository at this point in the history
* use 'strictEqual' instead of 'equal'
* use '!==' instead of '!='

PR-URL: #9297
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
  • Loading branch information
Gerges Beshay authored and evanlucas committed Nov 3, 2016
1 parent 6f35e44 commit 6c9e4fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-async-wrap-check-providers.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() { }
Expand Down Expand Up @@ -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 6c9e4fd

Please sign in to comment.