Skip to content

Commit

Permalink
test: refactor dgram-send-multi-buffer-copy
Browse files Browse the repository at this point in the history
assert.equal() -> assert.strictEqual()

PR-URL: #9909
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
likhter authored and addaleax committed Dec 8, 2016
1 parent 6fc75ba commit 81def18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-dgram-send-multi-buffer-copy.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const dgram = require('dgram');
const client = dgram.createSocket('udp4');

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

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

0 comments on commit 81def18

Please sign in to comment.