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 Fishrock123 committed Dec 5, 2016
1 parent 6d5ded5 commit 278772a
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 278772a

Please sign in to comment.