Commit d818cfa
test: improve test-fs-write-stream-throw-type
* validate the errors for all assert.throws
* use arrow functions
PR-URL: #10779
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>1 parent 84bf04b commit d818cfaCopy full SHA for d818cfa
File tree
Expand file treeCollapse file tree
1 file changed
+24
-12
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+24
-12
lines changedOpen diff view settings
Collapse file
test/parallel/test-fs-write-stream-throw-type-error.js
Copy file name to clipboardExpand all lines: test/parallel/test-fs-write-stream-throw-type-error.js+24-12Lines changed: 24 additions & 12 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
4 | 4 | |
5 | 5 | |
6 | 6 | |
| 7 | + |
| 8 | + |
| 9 | + |
| 10 | + |
| 11 | + |
| 12 | + |
7 | 13 | |
8 | 14 | |
9 | 15 | |
10 | 16 | |
11 | | - |
| 17 | + |
12 | 18 | |
13 | 19 | |
14 | | - |
| 20 | + |
| 21 | + |
15 | 22 | |
16 | 23 | |
17 | | - |
| 24 | + |
| 25 | + |
18 | 26 | |
19 | 27 | |
20 | | - |
| 28 | + |
| 29 | + |
21 | 30 | |
22 | 31 | |
23 | 32 | |
24 | | - |
| 33 | + |
25 | 34 | |
26 | | - |
27 | | - |
| 35 | + |
| 36 | + |
| 37 | + |
28 | 38 | |
29 | | - |
30 | | - |
| 39 | + |
| 40 | + |
| 41 | + |
31 | 42 | |
32 | | - |
33 | | - |
| 43 | + |
| 44 | + |
| 45 | + |
34 | 46 | |
35 | | - |
| 47 | + |
0 commit comments