Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bcd156f

Browse filesBrowse 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
Copy full SHA for bcd156f

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-async-wrap-check-providers.js
+2-2Lines changed: 2 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.