Commit 3ed0204
test: s/assert.fail/common.fail as appropriate
Many tests use assert.fail(null, null, msg) where it would be
simpler to use common.fail(msg). This is largely because
common.fail() is fairly new. This commit makes the replacement
when applicable.
PR-URL: #7735
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>1 parent 1f00359 commit 3ed0204Copy full SHA for 3ed0204
File tree
Expand file treeCollapse file tree
27 files changed
+47
-57
lines changedOpen diff view settings
Filter options
- test
- internet
- parallel
- sequential
Expand file treeCollapse file tree
27 files changed
+47
-57
lines changedOpen diff view settings
Collapse file
test/internet/test-dgram-send-cb-quelches-error.js
Copy file name to clipboardExpand all lines: test/internet/test-dgram-send-cb-quelches-error.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
28 | 28 | |
29 | 29 | |
30 | 30 | |
31 | | - |
| 31 | + |
32 | 32 | |
33 | 33 | |
34 | 34 | |
|
Collapse file
test/parallel/test-event-emitter-listeners-side-effects.js
Copy file name to clipboardExpand all lines: test/parallel/test-event-emitter-listeners-side-effects.js+6-6Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | 2 | |
3 | | - |
| 3 | + |
4 | 4 | |
5 | 5 | |
6 | 6 | |
| ||
14 | 14 | |
15 | 15 | |
16 | 16 | |
17 | | - |
| 17 | + |
18 | 18 | |
19 | | - |
| 19 | + |
20 | 20 | |
21 | 21 | |
22 | | - |
| 22 | + |
23 | 23 | |
24 | 24 | |
25 | 25 | |
| ||
28 | 28 | |
29 | 29 | |
30 | 30 | |
31 | | - |
| 31 | + |
32 | 32 | |
33 | 33 | |
34 | 34 | |
35 | 35 | |
36 | | - |
| 36 | + |
37 | 37 | |
38 | 38 | |
39 | 39 | |
Collapse file
test/parallel/test-event-emitter-once.js
Copy file name to clipboardExpand all lines: test/parallel/test-event-emitter-once.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
| 2 | + |
3 | 3 | |
4 | 4 | |
5 | 5 | |
| ||
16 | 16 | |
17 | 17 | |
18 | 18 | |
19 | | - |
| 19 | + |
20 | 20 | |
21 | 21 | |
22 | 22 | |
|
Collapse file
test/parallel/test-http-client-reject-chunked-with-content-length.js
Copy file name to clipboardExpand all lines: test/parallel/test-http-client-reject-chunked-with-content-length.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
18 | 18 | |
19 | 19 | |
20 | 20 | |
21 | | - |
| 21 | + |
22 | 22 | |
23 | 23 | |
24 | 24 | |
|
Collapse file
test/parallel/test-http-client-reject-cr-no-lf.js
Copy file name to clipboardExpand all lines: test/parallel/test-http-client-reject-cr-no-lf.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
17 | 17 | |
18 | 18 | |
19 | 19 | |
20 | | - |
| 20 | + |
21 | 21 | |
22 | 22 | |
23 | 23 | |
|
Collapse file
test/parallel/test-http-createConnection.js
Copy file name to clipboardExpand all lines: test/parallel/test-http-createConnection.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
21 | 21 | |
22 | 22 | |
23 | 23 | |
24 | | - |
| 24 | + |
25 | 25 | |
26 | 26 | |
27 | 27 | |
|
Collapse file
test/parallel/test-http-double-content-length.js
Copy file name to clipboardExpand all lines: test/parallel/test-http-double-content-length.js+1-2Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
23 | 23 | |
24 | 24 | |
25 | 25 | |
26 | | - |
27 | | - |
| 26 | + |
28 | 27 | |
29 | 28 | |
30 | 29 | |
|
Collapse file
test/parallel/test-http-localaddress-bind-error.js
Copy file name to clipboardExpand all lines: test/parallel/test-http-localaddress-bind-error.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
| 2 | + |
3 | 3 | |
4 | 4 | |
5 | 5 | |
| ||
24 | 24 | |
25 | 25 | |
26 | 26 | |
27 | | - |
| 27 | + |
28 | 28 | |
29 | 29 | |
30 | 30 | |
|
Collapse file
test/parallel/test-http-response-multi-content-length.js
Copy file name to clipboardExpand all lines: test/parallel/test-http-response-multi-content-length.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
19 | 19 | |
20 | 20 | |
21 | 21 | |
22 | | - |
| 22 | + |
23 | 23 | |
24 | 24 | |
25 | 25 | |
|
Collapse file
test/parallel/test-http-response-splitting.js
Copy file name to clipboardExpand all lines: test/parallel/test-http-response-splitting.js+1-1Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
38 | 38 | |
39 | 39 | |
40 | 40 | |
41 | | - |
| 41 | + |
42 | 42 | |
43 | 43 | |
44 | 44 | |
|
0 commit comments