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>
This commit is contained in:
Nikhil M authored and Shelley Vohr committed 2019-01-28 21:54:52 -08:00
1 parent a7c1d0908a
commit bf3bed56db
1 file changed
+2 -2
+2 -2
View File
@@ -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++) {