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: nodejs#9909
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
likhter authored and Trott committed Dec 5, 2016
1 parent c8da009 commit f13047d
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 f13047d

Please sign in to comment.