diff options
author | Yomar <yomar.guti@gmail.com> | 2019-06-21 15:43:51 -0500 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2019-07-02 09:07:57 +0200 |
commit | 3bc62b9374e22474fce228b4730e4df55237a6dd (patch) | |
tree | 340532a5424f1b5e96d58d66da1e2f2d010d5081 /test/pummel | |
parent | ecf4494dd2b09926f6deefb23c0fde5379e71850 (diff) | |
download | node-new-3bc62b9374e22474fce228b4730e4df55237a6dd.tar.gz |
test: switch assertion order
PR-URL: https://github.com/nodejs/node/pull/28339
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'test/pummel')
-rw-r--r-- | test/pummel/test-child-process-spawn-loop.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/pummel/test-child-process-spawn-loop.js b/test/pummel/test-child-process-spawn-loop.js index fdff82a6e4..f6d8207df8 100644 --- a/test/pummel/test-child-process-spawn-loop.js +++ b/test/pummel/test-child-process-spawn-loop.js @@ -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 { |