Skip to content

Commit

Permalink
subsystem: Change assert.equal to assert.strictEqual
Browse files Browse the repository at this point in the history
Use asssert.strictEqual to enforce coersion.
  • Loading branch information
funkent committed Dec 1, 2016
1 parent 8264a22 commit 0599bf3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/parallel/test-net-dns-custom-lookup.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ function check(addressType, cb) {
family: addressType,
lookup: lookup
}).on('lookup', common.mustCall(function(err, ip, type) {
assert.equal(err, null);
assert.equal(address, ip);
assert.equal(type, addressType);
assert.strictEqual(err, null);
assert.strictEqual(address, ip);
assert.strictEqual(type, addressType);
}));
}));

Expand Down

0 comments on commit 0599bf3

Please sign in to comment.