Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit a34e195

Browse filesBrowse files
cesarhqaddaleax
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 d87926a commit a34e195
Copy full SHA for a34e195

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/parallel/test-dgram-exclusive-implicit-bind.js
+3-3Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.