Browse Source

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>
v7.x
Konstantin Likhter 8 years ago
committed by Jeremiah Senkpiel
parent
commit
278772a5df
  1. 2
      test/parallel/test-dgram-send-multi-buffer-copy.js

2
test/parallel/test-dgram-send-multi-buffer-copy.js

@ -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');

Loading…
Cancel
Save