Commit 735119c
test: cleanup stream tests
const and let instead var
assert.strictEqual instead assert.equal
PR-URL: #8668
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Ilkka Myller <ilkka.myller@nodefield.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent 31434a1 commit 735119cCopy full SHA for 735119c
File tree
Expand file treeCollapse file tree
7 files changed
+79
-82
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
7 files changed
+79
-82
lines changedOpen diff view settings
Collapse file
test/parallel/test-stream-big-packet.js
Copy file name to clipboardExpand all lines: test/parallel/test-stream-big-packet.js+8-8Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
4 | | - |
5 | | - |
| 3 | + |
| 4 | + |
| 5 | + |
6 | 6 | |
7 | | - |
| 7 | + |
8 | 8 | |
9 | 9 | |
10 | 10 | |
| ||
27 | 27 | |
28 | 28 | |
29 | 29 | |
30 | | - |
31 | | - |
32 | | - |
| 30 | + |
| 31 | + |
| 32 | + |
33 | 33 | |
34 | 34 | |
35 | 35 | |
36 | 36 | |
37 | 37 | |
38 | | - |
| 38 | + |
39 | 39 | |
40 | 40 | |
41 | 41 | |
|
Collapse file
test/parallel/test-stream-big-push.js
Copy file name to clipboard+13-13Lines changed: 13 additions & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
4 | | - |
5 | | - |
| 3 | + |
| 4 | + |
| 5 | + |
6 | 6 | |
7 | | - |
| 7 | + |
8 | 8 | |
9 | 9 | |
10 | 10 | |
11 | 11 | |
12 | | - |
13 | | - |
14 | | - |
| 12 | + |
| 13 | + |
| 14 | + |
15 | 15 | |
16 | 16 | |
17 | 17 | |
| ||
21 | 21 | |
22 | 22 | |
23 | 23 | |
24 | | - |
| 24 | + |
25 | 25 | |
26 | 26 | |
27 | 27 | |
| ||
40 | 40 | |
41 | 41 | |
42 | 42 | |
43 | | - |
| 43 | + |
44 | 44 | |
45 | | - |
| 45 | + |
46 | 46 | |
47 | 47 | |
48 | 48 | |
49 | 49 | |
50 | 50 | |
51 | 51 | |
52 | 52 | |
53 | | - |
| 53 | + |
54 | 54 | |
55 | 55 | |
56 | | - |
| 56 | + |
57 | 57 | |
58 | 58 | |
59 | 59 | |
60 | 60 | |
61 | 61 | |
62 | | - |
| 62 | + |
63 | 63 | |
64 | 64 | |
Collapse file
test/parallel/test-stream-duplex.js
Copy file name to clipboardExpand all lines: test/parallel/test-stream-duplex.js+5-6Lines changed: 5 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
| 3 | + |
| 4 | + |
4 | 5 | |
5 | | - |
6 | | - |
7 | | - |
| 6 | + |
8 | 7 | |
9 | 8 | |
10 | 9 | |
11 | 10 | |
12 | | - |
13 | | - |
| 11 | + |
| 12 | + |
14 | 13 | |
15 | 14 | |
16 | 15 | |
|
Collapse file
test/parallel/test-stream-end-paused.js
Copy file name to clipboardExpand all lines: test/parallel/test-stream-end-paused.js+4-4Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
| 3 | + |
4 | 4 | |
5 | 5 | |
6 | 6 | |
7 | | - |
8 | | - |
9 | | - |
| 7 | + |
| 8 | + |
| 9 | + |
10 | 10 | |
11 | 11 | |
12 | 12 | |
|
Collapse file
test/parallel/test-stream-ispaused.js
Copy file name to clipboardExpand all lines: test/parallel/test-stream-ispaused.js+3-4Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
| 3 | + |
| 4 | + |
4 | 5 | |
5 | | - |
6 | | - |
7 | | - |
| 6 | + |
8 | 7 | |
9 | 8 | |
10 | 9 | |
|
Collapse file
test/parallel/test-stream-pipe-after-end.js
Copy file name to clipboardExpand all lines: test/parallel/test-stream-pipe-after-end.js+10-11Lines changed: 10 additions & 11 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
4 | | - |
5 | | - |
6 | | - |
7 | | - |
| 3 | + |
| 4 | + |
| 5 | + |
| 6 | + |
8 | 7 | |
9 | 8 | |
10 | 9 | |
| ||
35 | 34 | |
36 | 35 | |
37 | 36 | |
38 | | - |
39 | | - |
| 37 | + |
| 38 | + |
40 | 39 | |
41 | 40 | |
42 | | - |
| 41 | + |
43 | 42 | |
44 | 43 | |
45 | 44 | |
| ||
48 | 47 | |
49 | 48 | |
50 | 49 | |
51 | | - |
| 50 | + |
52 | 51 | |
53 | 52 | |
54 | | - |
55 | | - |
| 53 | + |
| 54 | + |
56 | 55 | |
57 | 56 | |
58 | 57 | |
|
Collapse file
test/parallel/test-stream-pipe-cleanup.js
Copy file name to clipboard+36-36Lines changed: 36 additions & 36 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
4 | | - |
5 | 4 | |
6 | | - |
7 | | - |
8 | | - |
| 5 | + |
| 6 | + |
| 7 | + |
9 | 8 | |
10 | 9 | |
11 | 10 | |
| ||
33 | 32 | |
34 | 33 | |
35 | 34 | |
36 | | - |
37 | | - |
| 35 | + |
| 36 | + |
38 | 37 | |
39 | | - |
| 38 | + |
40 | 39 | |
41 | | - |
| 40 | + |
42 | 41 | |
43 | 42 | |
44 | 43 | |
45 | 44 | |
46 | 45 | |
47 | 46 | |
48 | | - |
49 | | - |
| 47 | + |
| 48 | + |
50 | 49 | |
51 | 50 | |
52 | 51 | |
| ||
55 | 54 | |
56 | 55 | |
57 | 56 | |
58 | | - |
59 | | - |
| 57 | + |
| 58 | + |
60 | 59 | |
61 | 60 | |
62 | 61 | |
| ||
67 | 66 | |
68 | 67 | |
69 | 68 | |
70 | | - |
| 69 | + |
71 | 70 | |
72 | 71 | |
73 | 72 | |
74 | | - |
| 73 | + |
75 | 74 | |
76 | 75 | |
77 | | - |
78 | | - |
79 | | - |
80 | | - |
81 | | - |
82 | | - |
| 76 | + |
| 77 | + |
| 78 | + |
| 79 | + |
| 80 | + |
| 81 | + |
| 82 | + |
83 | 83 | |
84 | 84 | |
85 | | - |
86 | | - |
87 | | - |
88 | | - |
89 | | - |
90 | | - |
91 | | - |
92 | | - |
| 85 | + |
| 86 | + |
| 87 | + |
| 88 | + |
| 89 | + |
| 90 | + |
| 91 | + |
| 92 | + |
93 | 93 | |
94 | 94 | |
95 | | - |
96 | | - |
97 | | - |
98 | | - |
99 | | - |
100 | | - |
101 | | - |
102 | | - |
| 95 | + |
| 96 | + |
| 97 | + |
| 98 | + |
| 99 | + |
| 100 | + |
| 101 | + |
| 102 | + |
0 commit comments