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 fd17ca7

Browse filesBrowse files
funkentFishrock123
authored andcommitted
test: refactor test-net-dns-custom-lookup
Use asssert.strictEqual to disallow coersion. PR-URL: #10071 Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent cf3c635 commit fd17ca7
Copy full SHA for fd17ca7

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎test/parallel/test-net-dns-custom-lookup.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-net-dns-custom-lookup.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ function check(addressType, cb) {
1818
family: addressType,
1919
lookup: lookup
2020
}).on('lookup', common.mustCall(function(err, ip, type) {
21-
assert.equal(err, null);
22-
assert.equal(address, ip);
23-
assert.equal(type, addressType);
21+
assert.strictEqual(err, null);
22+
assert.strictEqual(address, ip);
23+
assert.strictEqual(type, addressType);
2424
}));
2525
}));
2626

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.