Skip to content

Commit bcd156f

Browse files
Gerges BeshayMyles Borins
Gerges Beshay
authored and
Myles Borins
committed
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 59d821d commit bcd156f

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
@@ -31,7 +31,7 @@ if (common.isAix) {
3131
}
3232

3333
function init(id, provider) {
34-
keyList = keyList.filter((e) => e != pkeys[provider]);
34+
keyList = keyList.filter((e) => e !== pkeys[provider]);
3535
}
3636

3737
function noop() { }
@@ -114,6 +114,6 @@ process.on('exit', function() {
114114
if (keyList.length !== 0) {
115115
process._rawDebug('Not all keys have been used:');
116116
process._rawDebug(keyList);
117-
assert.equal(keyList.length, 0);
117+
assert.strictEqual(keyList.length, 0);
118118
}
119119
});

0 commit comments

Comments
 (0)