Commit 122917d
test: change var declarations, add mustCall check
In this test, I changed the var declarations to be either a let or a
const. For some of the callbacks, I added a mustCall check to ensure
that the functions have run. I also changed assert.equal() to
assert.strictEqual().
PR-URL: #9962
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>1 parent d5e911c commit 122917dCopy full SHA for 122917d
File tree
Expand file treeCollapse file tree
1 file changed
+17
-16
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+17
-16
lines changedOpen diff view settings
Collapse file
test/parallel/test-cluster-net-send.js
Copy file name to clipboardExpand all lines: test/parallel/test-cluster-net-send.js+17-16Lines changed: 17 additions & 16 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
6 | 6 | |
7 | 7 | |
8 | 8 | |
9 | 9 | |
10 | | - |
11 | | - |
| 10 | + |
| 11 | + |
12 | 12 | |
13 | | - |
14 | | - |
| 13 | + |
| 14 | + |
15 | 15 | |
16 | 16 | |
17 | 17 | |
18 | 18 | |
19 | 19 | |
20 | | - |
| 20 | + |
21 | 21 | |
22 | 22 | |
23 | 23 | |
24 | 24 | |
25 | 25 | |
26 | | - |
| 26 | + |
27 | 27 | |
28 | 28 | |
29 | 29 | |
30 | 30 | |
31 | 31 | |
32 | 32 | |
33 | 33 | |
34 | | - |
35 | | - |
| 34 | + |
| 35 | + |
36 | 36 | |
37 | 37 | |
38 | 38 | |
39 | 39 | |
40 | 40 | |
41 | | - |
42 | | - |
43 | | - |
| 41 | + |
| 42 | + |
| 43 | + |
44 | 44 | |
45 | | - |
| 45 | + |
46 | 46 | |
47 | 47 | |
| 48 | + |
48 | 49 | |
49 | 50 | |
50 | 51 | |
|
0 commit comments