Skip to content

Commit

Permalink
test: switch assertion order
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
yomarguti authored and addaleax committed Jun 25, 2019
1 parent 9a41aa1 commit 1ff9a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/pummel/test-child-process-spawn-loop.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function doSpawn(i) {

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

0 comments on commit 1ff9a49

Please sign in to comment.