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 <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
  • Loading branch information
Gerges Beshay authored and Myles Borins committed Nov 22, 2016
1 parent 59d821d commit bcd156f
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 bcd156f

Please sign in to comment.