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()
  • Loading branch information
cesarhq committed Dec 1, 2016
1 parent 8264a22 commit 7493746
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 7493746

Please sign in to comment.