Skip to content

Commit 80a7527

Browse files
cesarhqMylesBorins
authored andcommitted
test: refactor test-dgram-exclusive-implicit-bind
* assert.equal() -> assert.strictEqual() PR-URL: #10066 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
1 parent 9b974b4 commit 80a7527

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/parallel/test-dgram-exclusive-implicit-bind.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ if (cluster.isMaster) {
4545
var ports = {};
4646

4747
process.on('exit', function() {
48-
assert.equal(pass, true);
48+
assert.strictEqual(pass, true);
4949
});
5050

5151
var target = dgram.createSocket('udp4');
@@ -55,12 +55,12 @@ if (cluster.isMaster) {
5555
ports[rinfo.port] = true;
5656

5757
if (common.isWindows && messages === 2) {
58-
assert.equal(Object.keys(ports).length, 2);
58+
assert.strictEqual(Object.keys(ports).length, 2);
5959
done();
6060
}
6161

6262
if (!common.isWindows && messages === 4) {
63-
assert.equal(Object.keys(ports).length, 3);
63+
assert.strictEqual(Object.keys(ports).length, 3);
6464
done();
6565
}
6666

0 commit comments

Comments
 (0)