Skip to content

Commit a34e195

Browse files
cesarhqaddaleax
authored andcommitted
test: refactor test-dgram-exclusive-implicit-bind
* assert.equal() -> assert.strictEqual() PR-URL: #10066 Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Santiago Gimeno <[email protected]>
1 parent d87926a commit a34e195

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

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

+3-3
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)