From 0599bf343e4731a086c88d9f3520c6ac493ce726 Mon Sep 17 00:00:00 2001 From: "Kent.Fan" Date: Thu, 1 Dec 2016 14:08:44 -0600 Subject: [PATCH] subsystem: Change assert.equal to assert.strictEqual Use asssert.strictEqual to enforce coersion. --- test/parallel/test-net-dns-custom-lookup.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/parallel/test-net-dns-custom-lookup.js b/test/parallel/test-net-dns-custom-lookup.js index 8d91bcba6687ea..07eb71c5ed5811 100644 --- a/test/parallel/test-net-dns-custom-lookup.js +++ b/test/parallel/test-net-dns-custom-lookup.js @@ -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); })); }));