Commit cddc32c
test: replace throw with common.fail
Replace anonymous functions with arrow functions.
Replace throw new Error with common.fail.
PR-URL: #9700
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Italo A. Casas <me@italoacasas.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>1 parent f23377c commit cddc32cCopy full SHA for cddc32c
File tree
Expand file treeCollapse file tree
1 file changed
+8
-5
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+8
-5
lines changedOpen diff view settings
Collapse file
test/parallel/test-fs-empty-readStream.js
Copy file name to clipboardExpand all lines: test/parallel/test-fs-empty-readStream.js+8-5Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
7 | 7 | |
8 | 8 | |
9 | 9 | |
| 10 | + |
10 | 11 | |
11 | 12 | |
12 | | - |
| 13 | + |
13 | 14 | |
14 | 15 | |
15 | | - |
| 16 | + |
16 | 17 | |
17 | 18 | |
18 | 19 | |
19 | 20 | |
20 | 21 | |
21 | 22 | |
| 23 | + |
22 | 24 | |
23 | 25 | |
24 | | - |
| 26 | + |
| 27 | + |
25 | 28 | |
26 | 29 | |
27 | 30 | |
28 | | - |
| 31 | + |
29 | 32 | |
30 | 33 | |
31 | 34 | |
32 | | - |
| 35 | + |
33 | 36 | |
34 | 37 | |
35 | 38 | |
|
0 commit comments