Skip to content

Commit 6c9e4fd

Browse files
Gerges Beshayevanlucas
Gerges Beshay
authored andcommitted
test: refactor test-async-wrap-check-providers
* use 'strictEqual' instead of 'equal' * use '!==' instead of '!=' PR-URL: #9297 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 6f35e44 commit 6c9e4fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-async-wrap-check-providers.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ if (common.isAix) {
3636
}
3737

3838
function init(id, provider) {
39-
keyList = keyList.filter((e) => e != pkeys[provider]);
39+
keyList = keyList.filter((e) => e !== pkeys[provider]);
4040
}
4141

4242
function noop() { }
@@ -119,6 +119,6 @@ process.on('exit', function() {
119119
if (keyList.length !== 0) {
120120
process._rawDebug('Not all keys have been used:');
121121
process._rawDebug(keyList);
122-
assert.equal(keyList.length, 0);
122+
assert.strictEqual(keyList.length, 0);
123123
}
124124
});

0 commit comments

Comments
 (0)