Skip to content

Commit 1ff9a49

Browse files
yomargutiaddaleax
authored andcommitted
test: switch assertion order
PR-URL: #28339 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Gireesh Punathil <[email protected]> Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Yongsheng Zhang <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 9a41aa1 commit 1ff9a49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/pummel/test-child-process-spawn-loop.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function doSpawn(i) {
4444

4545
child.on('close', () => {
4646
// + 1 for \n or + 2 for \r\n on Windows
47-
assert.strictEqual(SIZE + (common.isWindows ? 2 : 1), count);
47+
assert.strictEqual(count, SIZE + (common.isWindows ? 2 : 1));
4848
if (i < N) {
4949
doSpawn(i + 1);
5050
} else {

0 commit comments

Comments
 (0)