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 278772a

Browse filesBrowse files
Konstantin LikhterFishrock123
authored andcommitted
test: refactor dgram-send-multi-buffer-copy
assert.equal() -> assert.strictEqual() PR-URL: #9909 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 6d5ded5 commit 278772a
Copy full SHA for 278772a

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

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

‎test/parallel/test-dgram-send-multi-buffer-copy.js‎

Copy file name to clipboardExpand all lines: test/parallel/test-dgram-send-multi-buffer-copy.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const dgram = require('dgram');
77
const client = dgram.createSocket('udp4');
88

99
const onMessage = common.mustCall(function(err, bytes) {
10-
assert.equal(bytes, buf1.length + buf2.length);
10+
assert.strictEqual(bytes, buf1.length + buf2.length);
1111
});
1212

1313
const buf1 = Buffer.alloc(256, 'x');

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.