Skip to content

Commit 41e5d94

Browse files
mfhanMylesBorins
authored andcommitted
test: refactor test-dgram-send-callback-multi-buffer
* 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>
1 parent 2458501 commit 41e5d94

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎test/parallel/test-dgram-send-callback-multi-buffer.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const dgram = require('dgram');
77
constclient=dgram.createSocket('udp4');
88

99
constmessageSent=common.mustCall(functionmessageSent(err,bytes){
10-
assert.equal(bytes,buf1.length+buf2.length);
10+
assert.strictEqual(bytes,buf1.length+buf2.length);
1111
});
1212

1313
constbuf1=Buffer.alloc(256,'x');

0 commit comments

Comments
 (0)