Commit ff59d3a
test: replace assert.throws w/ common.expectsError
PR-URL: #17483
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 28b2d8a commit ff59d3aCopy full SHA for ff59d3a
File tree
Expand file treeCollapse file tree
10 files changed
+66
-62
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
10 files changed
+66
-62
lines changedOpen diff view settings
Collapse file
test/parallel/test-async-hooks-asyncresource-constructor.js
Copy file name to clipboardExpand all lines: test/parallel/test-async-hooks-asyncresource-constructor.js+12-13Lines changed: 12 additions & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
7 | 6 | |
8 | 7 | |
9 | 8 | |
| ||
12 | 11 | |
13 | 12 | |
14 | 13 | |
15 | | - |
| 14 | + |
16 | 15 | |
17 | | - |
| 16 | + |
18 | 17 | |
19 | 18 | |
20 | | - |
| 19 | + |
21 | 20 | |
22 | | - |
| 21 | + |
23 | 22 | |
24 | | - |
| 23 | + |
25 | 24 | |
26 | 25 | |
27 | | - |
| 26 | + |
28 | 27 | |
29 | | - |
| 28 | + |
30 | 29 | |
31 | | - |
| 30 | + |
32 | 31 | |
33 | 32 | |
34 | | - |
| 33 | + |
35 | 34 | |
36 | | - |
| 35 | + |
37 | 36 | |
38 | | - |
| 37 | + |
39 | 38 | |
40 | 39 | |
41 | | - |
| 40 | + |
Collapse file
test/parallel/test-async-wrap-constructor.js
Copy file name to clipboardExpand all lines: test/parallel/test-async-wrap-constructor.js+3-4Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
7 | 6 | |
8 | 7 | |
9 | 8 | |
10 | 9 | |
11 | 10 | |
12 | | - |
| 11 | + |
13 | 12 | |
14 | | - |
| 13 | + |
15 | 14 | |
16 | 15 | |
17 | | - |
| 16 | + |
18 | 17 | |
19 | 18 | |
Collapse file
test/parallel/test-buffer-alloc.js
Copy file name to clipboardExpand all lines: test/parallel/test-buffer-alloc.js+8-6Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
887 | 887 | |
888 | 888 | |
889 | 889 | |
890 | | - |
891 | | - |
892 | | - |
893 | | - |
894 | | - |
895 | | - |
| 890 | + |
| 891 | + |
| 892 | + |
| 893 | + |
| 894 | + |
| 895 | + |
| 896 | + |
| 897 | + |
896 | 898 | |
897 | 899 | |
898 | 900 | |
|
Collapse file
test/parallel/test-buffer-arraybuffer.js
Copy file name to clipboardExpand all lines: test/parallel/test-buffer-arraybuffer.js+14-14Lines changed: 14 additions & 14 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
65 | 65 | |
66 | 66 | |
67 | 67 | |
68 | | - |
| 68 | + |
69 | 69 | |
70 | 70 | |
71 | 71 | |
72 | | - |
73 | | - |
| 72 | + |
| 73 | + |
74 | 74 | |
75 | 75 | |
76 | 76 | |
77 | | - |
| 77 | + |
78 | 78 | |
79 | 79 | |
80 | 80 | |
| ||
93 | 93 | |
94 | 94 | |
95 | 95 | |
96 | | - |
| 96 | + |
97 | 97 | |
98 | 98 | |
99 | 99 | |
100 | | - |
101 | | - |
| 100 | + |
| 101 | + |
102 | 102 | |
103 | 103 | |
104 | 104 | |
105 | | - |
| 105 | + |
106 | 106 | |
107 | 107 | |
108 | 108 | |
| ||
118 | 118 | |
119 | 119 | |
120 | 120 | |
121 | | - |
| 121 | + |
122 | 122 | |
123 | | - |
| 123 | + |
124 | 124 | |
125 | 125 | |
126 | 126 | |
127 | | - |
| 127 | + |
128 | 128 | |
129 | 129 | |
130 | 130 | |
| ||
140 | 140 | |
141 | 141 | |
142 | 142 | |
143 | | - |
| 143 | + |
144 | 144 | |
145 | | - |
| 145 | + |
146 | 146 | |
147 | 147 | |
148 | 148 | |
149 | | - |
| 149 | + |
150 | 150 | |
Collapse file
test/parallel/test-buffer-compare-offset.js
Copy file name to clipboardExpand all lines: test/parallel/test-buffer-compare-offset.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
66 | 66 | |
67 | 67 | |
68 | 68 | |
69 | | - |
| 69 | + |
70 | 70 | |
71 | 71 | |
72 | 72 | |
73 | 73 | |
74 | | - |
| 74 | + |
Collapse file
test/parallel/test-buffer-compare.js
Copy file name to clipboardExpand all lines: test/parallel/test-buffer-compare.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
38 | 38 | |
39 | 39 | |
40 | 40 | |
41 | | - |
| 41 | + |
42 | 42 | |
43 | 43 | |
44 | 44 | |
45 | 45 | |
46 | | - |
| 46 | + |
Collapse file
test/parallel/test-buffer-concat.js
Copy file name to clipboardExpand all lines: test/parallel/test-buffer-concat.js+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
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 | |
65 | 65 | |
|
Collapse file
test/parallel/test-buffer-fill.js
Copy file name to clipboardExpand all lines: test/parallel/test-buffer-fill.js+16-13Lines changed: 16 additions & 13 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
303 | 303 | |
304 | 304 | |
305 | 305 | |
306 | | - |
| 306 | + |
307 | 307 | |
308 | | - |
309 | | - |
| 308 | + |
| 309 | + |
310 | 310 | |
311 | | - |
| 311 | + |
312 | 312 | |
313 | 313 | |
314 | 314 | |
| ||
357 | 357 | |
358 | 358 | |
359 | 359 | |
360 | | - |
| 360 | + |
361 | 361 | |
362 | 362 | |
363 | 363 | |
| ||
374 | 374 | |
375 | 375 | |
376 | 376 | |
377 | | - |
378 | | - |
| 377 | + |
| 378 | + |
| 379 | + |
379 | 380 | |
380 | 381 | |
381 | 382 | |
382 | 383 | |
383 | 384 | |
384 | 385 | |
385 | 386 | |
386 | | - |
| 387 | + |
387 | 388 | |
388 | | - |
389 | | - |
| 389 | + |
| 390 | + |
| 391 | + |
390 | 392 | |
391 | 393 | |
392 | 394 | |
393 | 395 | |
394 | 396 | |
395 | | - |
| 397 | + |
396 | 398 | |
397 | 399 | |
398 | 400 | |
| ||
409 | 411 | |
410 | 412 | |
411 | 413 | |
412 | | - |
413 | | - |
| 414 | + |
| 415 | + |
| 416 | + |
414 | 417 | |
415 | 418 | |
416 | 419 | |
|
Collapse file
test/parallel/test-buffer-new.js
Copy file name to clipboard+2-3Lines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | 3 | |
4 | | - |
5 | 4 | |
6 | | - |
| 5 | + |
7 | 6 | |
8 | 7 | |
9 | 8 | |
10 | | - |
| 9 | + |
Collapse file
test/parallel/test-buffer-read.js
Copy file name to clipboardExpand all lines: test/parallel/test-buffer-read.js+4-2Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8 | 8 | |
9 | 9 | |
10 | 10 | |
11 | | - |
| 11 | + |
12 | 12 | |
13 | | - |
| 13 | + |
| 14 | + |
| 15 | + |
14 | 16 | |
15 | 17 | |
16 | 18 | |
|
0 commit comments