Skip to content

Commit 0599bf3

Browse files
committed
subsystem: Change assert.equal to assert.strictEqual
Use asssert.strictEqual to enforce coersion.
1 parent 8264a22 commit 0599bf3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

Lines 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)