Commit 0015430
assert: align argument names
This makes sure the documented argument names and the ones thrown
in errors is aligned with the actual argument name.
PR-URL: #22760
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Denys Otrishko <shishugi@gmail.com>
Reviewed-By: Yuta Hiroto <hello@hiroppy.me>1 parent b1d667b commit 0015430Copy full SHA for 0015430
File tree
Expand file treeCollapse file tree
6 files changed
+72
-80
lines changedOpen diff view settings
Filter options
- lib
- test/parallel
Expand file treeCollapse file tree
6 files changed
+72
-80
lines changedOpen diff view settings
Collapse file
+21-20Lines changed: 21 additions & 20 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
557 | 557 | |
558 | 558 | |
559 | 559 | |
560 | | - |
561 | | - |
562 | | - |
| 560 | + |
| 561 | + |
| 562 | + |
563 | 563 | |
564 | 564 | |
565 | | - |
| 565 | + |
566 | 566 | |
567 | 567 | |
568 | 568 | |
| ||
579 | 579 | |
580 | 580 | |
581 | 581 | |
582 | | - |
| 582 | + |
583 | 583 | |
584 | | - |
585 | | - |
586 | | - |
| 584 | + |
| 585 | + |
| 586 | + |
587 | 587 | |
588 | 588 | |
589 | 589 | |
590 | | - |
| 590 | + |
591 | 591 | |
592 | | - |
593 | | - |
| 592 | + |
| 593 | + |
594 | 594 | |
595 | | - |
| 595 | + |
| 596 | + |
596 | 597 | |
597 | 598 | |
598 | 599 | |
| ||
672 | 673 | |
673 | 674 | |
674 | 675 | |
675 | | - |
676 | | - |
| 676 | + |
| 677 | + |
677 | 678 | |
678 | 679 | |
679 | | - |
680 | | - |
| 680 | + |
| 681 | + |
681 | 682 | |
682 | 683 | |
683 | | - |
684 | | - |
| 684 | + |
| 685 | + |
685 | 686 | |
686 | 687 | |
687 | | - |
688 | | - |
| 688 | + |
| 689 | + |
689 | 690 | |
690 | 691 | |
691 | 692 | |
|
Collapse file
test/parallel/test-assert-async.js
Copy file name to clipboardExpand all lines: test/parallel/test-assert-async.js+4-4Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
41 | 41 | |
42 | 42 | |
43 | 43 | |
44 | | - |
| 44 | + |
45 | 45 | |
46 | 46 | |
47 | 47 | |
| ||
62 | 62 | |
63 | 63 | |
64 | 64 | |
65 | | - |
| 65 | + |
66 | 66 | |
67 | 67 | |
68 | 68 | |
| ||
73 | 73 | |
74 | 74 | |
75 | 75 | |
76 | | - |
| 76 | + |
77 | 77 | |
78 | 78 | |
79 | 79 | |
| ||
116 | 116 | |
117 | 117 | |
118 | 118 | |
119 | | - |
| 119 | + |
120 | 120 | |
121 | 121 | |
122 | 122 | |
|
Collapse file
test/parallel/test-assert.js
Copy file name to clipboardExpand all lines: test/parallel/test-assert.js+5-5Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
341 | 341 | |
342 | 342 | |
343 | 343 | |
344 | | - |
345 | | - |
| 344 | + |
| 345 | + |
346 | 346 | |
347 | | - |
| 347 | + |
348 | 348 | |
349 | 349 | |
350 | 350 | |
351 | | - |
352 | | - |
| 351 | + |
| 352 | + |
353 | 353 | |
354 | 354 | |
355 | 355 | |
|
Collapse file
test/parallel/test-file-write-stream3.js
Copy file name to clipboardExpand all lines: test/parallel/test-file-write-stream3.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
178 | 178 | |
179 | 179 | |
180 | 180 | |
181 | | - |
| 181 | + |
182 | 182 | |
183 | 183 | |
184 | 184 | |
| ||
187 | 187 | |
188 | 188 | |
189 | 189 | |
190 | | - |
| 190 | + |
191 | 191 | |
192 | 192 | |
193 | 193 | |
Collapse file
test/parallel/test-net-connect-options-port.js
Copy file name to clipboardExpand all lines: test/parallel/test-net-connect-options-port.js+38-47Lines changed: 38 additions & 47 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
62 | 62 | |
63 | 63 | |
64 | 64 | |
65 | | - |
66 | | - |
| 65 | + |
| 66 | + |
67 | 67 | |
68 | 68 | |
69 | 69 | |
| ||
136 | 136 | |
137 | 137 | |
138 | 138 | |
139 | | - |
140 | | - |
141 | | - |
142 | | - |
143 | | - |
| 139 | + |
| 140 | + |
| 141 | + |
144 | 142 | |
145 | 143 | |
146 | 144 | |
147 | | - |
148 | | - |
149 | | - |
150 | | - |
151 | | - |
152 | | - |
| 145 | + |
| 146 | + |
| 147 | + |
| 148 | + |
153 | 149 | |
154 | 150 | |
155 | 151 | |
156 | | - |
157 | | - |
158 | | - |
159 | | - |
160 | | - |
161 | | - |
| 152 | + |
| 153 | + |
| 154 | + |
162 | 155 | |
163 | 156 | |
164 | 157 | |
165 | | - |
166 | | - |
167 | | - |
168 | | - |
| 158 | + |
| 159 | + |
| 160 | + |
| 161 | + |
169 | 162 | |
170 | | - |
| 163 | + |
171 | 164 | |
172 | 165 | |
173 | 166 | |
174 | 167 | |
175 | 168 | |
176 | 169 | |
177 | 170 | |
178 | | - |
179 | | - |
180 | | - |
| 171 | + |
| 172 | + |
| 173 | + |
181 | 174 | |
182 | 175 | |
183 | 176 | |
184 | | - |
185 | | - |
186 | | - |
| 177 | + |
| 178 | + |
| 179 | + |
187 | 180 | |
188 | 181 | |
189 | 182 | |
190 | | - |
191 | | - |
192 | | - |
| 183 | + |
| 184 | + |
| 185 | + |
193 | 186 | |
194 | 187 | |
195 | 188 | |
196 | | - |
197 | | - |
198 | | - |
199 | | - |
| 189 | + |
| 190 | + |
| 191 | + |
200 | 192 | |
201 | 193 | |
202 | 194 | |
| ||
208 | 200 | |
209 | 201 | |
210 | 202 | |
211 | | - |
212 | | - |
213 | | - |
| 203 | + |
| 204 | + |
| 205 | + |
214 | 206 | |
215 | 207 | |
216 | 208 | |
217 | | - |
218 | | - |
219 | | - |
| 209 | + |
| 210 | + |
| 211 | + |
220 | 212 | |
221 | 213 | |
222 | 214 | |
223 | | - |
224 | | - |
225 | | - |
226 | | - |
| 215 | + |
| 216 | + |
| 217 | + |
227 | 218 | |
228 | 219 | |
Collapse file
test/parallel/test-net-server-listen-options.js
Copy file name to clipboardExpand all lines: test/parallel/test-net-server-listen-options.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
54 | 54 | |
55 | 55 | |
56 | 56 | |
57 | | - |
| 57 | + |
58 | 58 | |
59 | 59 | |
60 | | - |
| 60 | + |
61 | 61 | |
62 | 62 | |
63 | 63 | |
|
0 commit comments