Skip to content

Commit 658df6b

Browse files
m-nikhilrvagg
authored andcommitted
test: swap actual&optional params
PR-URL: #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>
1 parent 7bc2011 commit 658df6b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/pummel/test-stream-pipe-multi.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ FakeStream.prototype.close = function() {
6666

6767
// expect all streams to close properly.
6868
process.on('exit', function() {
69-
assert.strictEqual(cnt, wclosed);
70-
assert.strictEqual(cnt, rclosed);
69+
assert.strictEqual(wclosed, cnt);
70+
assert.strictEqual(rclosed, cnt);
7171
});
7272

7373
for (let i = 0; i < chunkSize; i++) {

0 commit comments

Comments
 (0)