Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 3bc62b9

Browse filesBrowse files
yomargutitargos
authored andcommitted
test: switch assertion order
PR-URL: #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>
1 parent ecf4494 commit 3bc62b9
Copy full SHA for 3bc62b9

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Open diff view settings
Collapse file

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

Copy file name to clipboardExpand all lines: test/pummel/test-child-process-spawn-loop.js
+1-1Lines changed: 1 addition & 1 deletion
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.