mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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:
1 parent
a7c1d0908a
commit
bf3bed56db
1 file changed
+2
-2
@@ -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++) {
|
||||
|
||||
Reference in new issue
Block a user