Skip to content

Commit 5510bec

Browse files
manishepochBridgeAR
authored andcommitted
test: fix assert argument order
PR-URL: #24160 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 81f4fb2 commit 5510bec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/parallel/test-child-process-stdio.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,8 @@ const { spawn } = require('child_process');
6060
}));
6161

6262
child.on('close', common.mustCall(function() {
63-
assert.strictEqual(true, output.length > 1);
64-
assert.strictEqual('\n', output[output.length - 1]);
63+
assert.strictEqual(output.length > 1, true);
64+
assert.strictEqual(output[output.length - 1], '\n');
6565
}));
6666
}
6767

0 commit comments

Comments
 (0)