summaryrefslogtreecommitdiff
path: root/test/parallel/test-dgram-send-multi-buffer-copy.js
diff options
context:
space:
mode:
authorKonstantin Likhter <konstantin@likhter.ru>2016-12-01 08:05:59 -0800
committerRich Trott <rtrott@gmail.com>2016-12-04 20:28:44 -0800
commitf13047dc5770a6f3c71eaead91f6aca55546167f (patch)
tree0f3c11255277159ae051e3e1eb3428b7b047d0f3 /test/parallel/test-dgram-send-multi-buffer-copy.js
parentc8da009fb7c30e552a59b0f26c088a8a259d69e6 (diff)
downloadandroid-node-v8-f13047dc5770a6f3c71eaead91f6aca55546167f.tar.gz
android-node-v8-f13047dc5770a6f3c71eaead91f6aca55546167f.tar.bz2
android-node-v8-f13047dc5770a6f3c71eaead91f6aca55546167f.zip
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>
Diffstat (limited to 'test/parallel/test-dgram-send-multi-buffer-copy.js')
-rw-r--r--test/parallel/test-dgram-send-multi-buffer-copy.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-dgram-send-multi-buffer-copy.js b/test/parallel/test-dgram-send-multi-buffer-copy.js
index 0b7f003335..2ee87494b0 100644
--- a/test/parallel/test-dgram-send-multi-buffer-copy.js
+++ b/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');