Skip to content

Commit

Permalink
test: refactor test-dgram-exclusive-implicit-bind
Browse files Browse the repository at this point in the history
 * assert.equal() -> assert.strictEqual()

PR-URL: nodejs#10066
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
  • Loading branch information
cesarhq authored and Jonathan Darling committed Dec 8, 2016
1 parent b355084 commit 9180d06
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/parallel/test-dgram-exclusive-implicit-bind.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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();
}

Expand Down

0 comments on commit 9180d06

Please sign in to comment.