Commit 13241bd
test: remove unused vars in ChildProcess tests
In addition to removing unused vars, this also fixes an instance where
booleans were set presumably to check something but then never used.
This now confirms that the events that were setting the booleans are
fired.
PR-URL: #4425
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>1 parent 2f4538d commit 13241bdCopy full SHA for 13241bd
File tree
Expand file treeCollapse file tree
12 files changed
+5
-25
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
12 files changed
+5
-25
lines changedOpen diff view settings
Collapse file
test/parallel/test-child-process-buffering.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-buffering.js-2Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
2 | 2 | |
3 | 3 | |
4 | 4 | |
5 | | - |
6 | | - |
7 | 5 | |
8 | 6 | |
9 | 7 | |
|
Collapse file
test/parallel/test-child-process-cwd.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-cwd.js-2Lines changed: 0 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
4 | | - |
5 | | - |
6 | 4 | |
7 | 5 | |
8 | 6 | |
|
Collapse file
test/parallel/test-child-process-exec-buffer.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-exec-buffer.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
9 | 9 | |
10 | 10 | |
11 | 11 | |
12 | | - |
| 12 | + |
13 | 13 | |
14 | 14 | |
15 | 15 | |
|
Collapse file
test/parallel/test-child-process-exec-cwd.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-exec-cwd.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
16 | 16 | |
17 | 17 | |
18 | 18 | |
19 | | - |
| 19 | + |
20 | 20 | |
21 | 21 | |
22 | 22 | |
|
Collapse file
test/parallel/test-child-process-fork-dgram.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-fork-dgram.js-1Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
25 | 25 | |
26 | 26 | |
27 | 27 | |
28 | | - |
29 | 28 | |
30 | 29 | |
31 | 30 | |
|
Collapse file
test/parallel/test-child-process-fork-exec-path.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-fork-exec-path.js-1Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
4 | 3 | |
5 | 4 | |
6 | 5 | |
|
Collapse file
test/parallel/test-child-process-fork-ref2.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-fork-ref2.js-1Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
4 | 3 | |
5 | 4 | |
6 | 5 | |
|
Collapse file
test/parallel/test-child-process-spawn-error.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-spawn-error.js-1Lines changed: 0 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
4 | 3 | |
5 | 4 | |
6 | 5 | |
|
Collapse file
test/parallel/test-child-process-stdin.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-stdin.js+2-12Lines changed: 2 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
18 | 18 | |
19 | 19 | |
20 | 20 | |
21 | | - |
22 | | - |
23 | 21 | |
24 | 22 | |
25 | 23 | |
26 | 24 | |
27 | 25 | |
28 | 26 | |
29 | | - |
30 | | - |
31 | | - |
32 | | - |
33 | | - |
34 | | - |
| 27 | + |
35 | 28 | |
36 | 29 | |
37 | 30 | |
38 | 31 | |
39 | 32 | |
40 | 33 | |
41 | | - |
42 | | - |
43 | | - |
44 | | - |
| 34 | + |
45 | 35 | |
46 | 36 | |
47 | 37 | |
|
Collapse file
test/parallel/test-child-process-stdio-inherit.js
Copy file name to clipboardExpand all lines: test/parallel/test-child-process-stdio-inherit.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
31 | 31 | |
32 | 32 | |
33 | 33 | |
34 | | - |
| 34 | + |
35 | 35 | |
0 commit comments