From 7493746a8aed660c398f77c3dbf8ae762f964fc0 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() --- 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(); }