diff options
author | Nikhil M <m_nikhil@outlook.com> | 2018-11-17 17:57:34 +0530 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-11-18 10:44:36 -0800 |
commit | 1b75b81649335a32912c3913b5afb5833c8a1602 (patch) | |
tree | 85fe7f2610d0a973a00c1555ce6a70b623c00928 /test/pummel | |
parent | 413fcada8fb8289ec81010fe66a975e046d15ece (diff) | |
download | android-node-v8-1b75b81649335a32912c3913b5afb5833c8a1602.tar.gz android-node-v8-1b75b81649335a32912c3913b5afb5833c8a1602.tar.bz2 android-node-v8-1b75b81649335a32912c3913b5afb5833c8a1602.zip |
test: swap actual&optional params
PR-URL: https://github.com/nodejs/node/pull/24426
Reviewed-By: Michaƫl Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Ujjwal Sharma <usharma1998@gmail.com>
Diffstat (limited to 'test/pummel')
-rw-r--r-- | test/pummel/test-stream-pipe-multi.js | 4 |
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 c89d9cc635..2767028c4b 100644 --- a/test/pummel/test-stream-pipe-multi.js +++ b/test/pummel/test-stream-pipe-multi.js @@ -66,8 +66,8 @@ FakeStream.prototype.close = function() { // expect all streams to close properly. process.on('exit', function() { - assert.strictEqual(cnt, wclosed); - assert.strictEqual(cnt, rclosed); + assert.strictEqual(wclosed, cnt); + assert.strictEqual(rclosed, cnt); }); for (let i = 0; i < chunkSize; i++) { |