Skip to content

Commit 61cbc20

Browse files
funkentMylesBorins
authored andcommitted
test: refactor test-net-dns-custom-lookup
Use asssert.strictEqual to disallow coersion. PR-URL: #10071 Reviewed-By: Santiago Gimeno <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 812c636 commit 61cbc20

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

+3-3
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)