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 Myles Borins committed Nov 22, 2016
1 parent c857586 commit 4ef7f00
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 @@ -31,7 +31,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 @@ -114,6 +114,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 4ef7f00

Please sign in to comment.