summaryrefslogtreecommitdiff
path: root/test/pummel
diff options
context:
space:
mode:
Diffstat (limited to 'test/pummel')
-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 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++) {