Skip to content

Commit bcd156f

Browse files
Gerges BeshayMyles Borins
authored andcommitted
test: refactor test-async-wrap-check-providers
* 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>
1 parent 59d821d commit bcd156f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ if (common.isAix) {
3131
}
3232

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

3737
functionnoop(){}
@@ -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)