summaryrefslogtreecommitdiff
path: root/test/pummel/test-stream-pipe-multi.js
diff options
context:
space:
mode:
authorGibson Fahnestock <gib@uk.ibm.com>2017-01-08 15:36:25 +0000
committerGibson Fahnestock <gib@uk.ibm.com>2017-01-11 14:19:26 +0000
commit3d2aef3979cf7ac986908dbb9879216caec4a3ff (patch)
tree0566cf3150e4b9bcce3359814b3927c562bdbc42 /test/pummel/test-stream-pipe-multi.js
parent81fef918d5a8a9aa297b78ade5e58d6caa3176e6 (diff)
downloadandroid-node-v8-3d2aef3979cf7ac986908dbb9879216caec4a3ff.tar.gz
android-node-v8-3d2aef3979cf7ac986908dbb9879216caec4a3ff.tar.bz2
android-node-v8-3d2aef3979cf7ac986908dbb9879216caec4a3ff.zip
test: s/assert.equal/assert.strictEqual/
Use assert.strictEqual instead of assert.equal in tests, manually convert types where necessary. PR-URL: https://github.com/nodejs/node/pull/10698 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Michaƫl Zasso <targos@protonmail.com> Reviewed-By: Teddy Katz <teddy.katz@gmail.com>
Diffstat (limited to 'test/pummel/test-stream-pipe-multi.js')
-rw-r--r--test/pummel/test-stream-pipe-multi.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/pummel/test-stream-pipe-multi.js b/test/pummel/test-stream-pipe-multi.js
index e1e5e01102..478b61c822 100644
--- a/test/pummel/test-stream-pipe-multi.js
+++ b/test/pummel/test-stream-pipe-multi.js
@@ -45,8 +45,8 @@ FakeStream.prototype.close = function() {
// expect all streams to close properly.
process.on('exit', function() {
- assert.equal(cnt, wclosed, 'writable streams closed');
- assert.equal(cnt, rclosed, 'readable streams closed');
+ assert.strictEqual(cnt, wclosed, 'writable streams closed');
+ assert.strictEqual(cnt, rclosed, 'readable streams closed');
});
for (let i = 0; i < chunkSize; i++) {