Commit b69cac7
test: refactor test-cluster-disconnect
Replace `process.once('exit', ...)` with `common.mustCall()`.
Remove unneeded variable in loop declaration.
PR-URL: #11981
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Santiago Gimeno <santiago.gimeno@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent 0fff04f commit b69cac7
1 file changed
+8
-27
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
70 | 63 | | |
71 | 64 | | |
72 | | - | |
73 | | - | |
74 | | - | |
| 65 | + | |
75 | 66 | | |
76 | | - | |
77 | | - | |
78 | | - | |
| 67 | + | |
79 | 68 | | |
80 | | - | |
81 | | - | |
82 | | - | |
| 69 | + | |
83 | 70 | | |
84 | 71 | | |
85 | 72 | | |
86 | 73 | | |
87 | | - | |
88 | | - | |
89 | | - | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
90 | 77 | | |
91 | 78 | | |
92 | 79 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | 80 | | |
0 commit comments