From a34e19532ca8e033d78d3f3dde007360b8b1c778 Mon Sep 17 00:00:00 2001 From: Cesar Hernandez Date: Thu, 1 Dec 2016 13:31:53 -0600 Subject: [PATCH] test: refactor test-dgram-exclusive-implicit-bind * assert.equal() -> assert.strictEqual() PR-URL: https://github.com/nodejs/node/pull/10066 Reviewed-By: Colin Ihrig Reviewed-By: Anna Henningsen Reviewed-By: Santiago Gimeno --- test/parallel/test-dgram-exclusive-implicit-bind.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/parallel/test-dgram-exclusive-implicit-bind.js b/test/parallel/test-dgram-exclusive-implicit-bind.js index 9a3cb91b3ac105..c8799cf058b99e 100644 --- a/test/parallel/test-dgram-exclusive-implicit-bind.js +++ b/test/parallel/test-dgram-exclusive-implicit-bind.js @@ -45,7 +45,7 @@ if (cluster.isMaster) { var ports = {}; process.on('exit', function() { - assert.equal(pass, true); + assert.strictEqual(pass, true); }); var target = dgram.createSocket('udp4'); @@ -55,12 +55,12 @@ if (cluster.isMaster) { ports[rinfo.port] = true; if (common.isWindows && messages === 2) { - assert.equal(Object.keys(ports).length, 2); + assert.strictEqual(Object.keys(ports).length, 2); done(); } if (!common.isWindows && messages === 4) { - assert.equal(Object.keys(ports).length, 3); + assert.strictEqual(Object.keys(ports).length, 3); done(); }