Skip to content

Commit

Permalink
test: refactor test-dgram-send-callback-multi-buffer
Browse files Browse the repository at this point in the history
* use assert.strictEqual() instead of assert.equal()

PR-URL: #9999
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
mfhan authored and italoacasas committed Dec 17, 2016
1 parent 16fbd4f commit fb297cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-dgram-send-callback-multi-buffer.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 messageSent = common.mustCall(function messageSent(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 fb297cb

Please sign in to comment.