mirror of
https://github.com/nodejs/node.git
synced 2026-10-14 10:26:26 -04:00
test: refactor dgram-send-multi-buffer-copy
assert.equal() -> assert.strictEqual() PR-URL: https://github.com/nodejs/node/pull/9909 Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This commit is contained in:
1 parent
c8da009fb7
commit
f13047dc57
1 file changed
+1
-1
@@ -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');
|
||||
|
||||
Reference in new issue
Block a user