diff options
author | Konstantin Likhter <konstantin@likhter.ru> | 2016-12-01 08:05:59 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2016-12-04 20:28:44 -0800 |
commit | f13047dc5770a6f3c71eaead91f6aca55546167f (patch) | |
tree | 0f3c11255277159ae051e3e1eb3428b7b047d0f3 /test/parallel/test-dgram-send-multi-buffer-copy.js | |
parent | c8da009fb7c30e552a59b0f26c088a8a259d69e6 (diff) | |
download | android-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.js | 2 |
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'); |