From bf3bed56db856eaea0debb27050dbfa6aa47b8b5 Mon Sep 17 00:00:00 2001 From: Nikhil M Date: Sat, 17 Nov 2018 17:57:34 +0530 Subject: [PATCH] test: swap actual&optional params MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/24426 Reviewed-By: Michaƫl Zasso Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: Trivikram Kamat Reviewed-By: Ujjwal Sharma --- test/pummel/test-stream-pipe-multi.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/pummel/test-stream-pipe-multi.js b/test/pummel/test-stream-pipe-multi.js index c89d9cc6353713..2767028c4b393b 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++) {