diff options
author | mfrance <mf212mf@gmail.com> | 2016-12-01 10:36:15 -0600 |
---|---|---|
committer | Luigi Pinca <luigipinca@gmail.com> | 2016-12-16 15:43:27 +0100 |
commit | 5a41a72b68276e50069c8b38e23317e151fcd7ee (patch) | |
tree | 6b34a329ec91deb5a483fdcccc2b25fa0cc36c42 /test | |
parent | 8127501c3b7df29c576c47d92a0fb661ab1d3990 (diff) | |
download | node-new-5a41a72b68276e50069c8b38e23317e151fcd7ee.tar.gz |
test: refactor test-dgram-send-callback-multi-buffer
* use assert.strictEqual() instead of assert.equal()
PR-URL: https://github.com/nodejs/node/pull/9999
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/parallel/test-dgram-send-callback-multi-buffer.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-dgram-send-callback-multi-buffer.js b/test/parallel/test-dgram-send-callback-multi-buffer.js index a60d42cc45..f77b561845 100644 --- a/test/parallel/test-dgram-send-callback-multi-buffer.js +++ b/test/parallel/test-dgram-send-callback-multi-buffer.js @@ -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'); |