Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
test: refactor test-dgram-exclusive-implicit-bind
        * assert.equal() -> assert.strictEqual()
  • Loading branch information
cesarhq committed Dec 1, 2016
commit 7493746a8aed660c398f77c3dbf8ae762f964fc0
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