From 05a6476d0f9adc749ec0e988edf479072d2eaae9 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 --- 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++) {