Commit c8db047
test: refactor test-fs-read-*
* Use `common.mustNotCall()` in place of `common.noop` where appropriate
* Increase specificity of regular expressions (that is, make them match
the whole error string rather than part of the error string) in
`assert.throws()` calls
PR-URL: #13501
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>1 parent bf61d97 commit c8db047Copy full SHA for c8db047
File tree
Expand file treeCollapse file tree
2 files changed
+5
-5
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
2 files changed
+5
-5
lines changedOpen diff view settings
Collapse file
test/parallel/test-fs-read-file-assert-encoding.js
Copy file name to clipboardExpand all lines: test/parallel/test-fs-read-file-assert-encoding.js+2-2Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
8 | 8 | |
9 | 9 | |
10 | 10 | |
11 | | - |
12 | | - |
| 11 | + |
| 12 | + |
13 | 13 | |
Collapse file
test/parallel/test-fs-read-type.js
Copy file name to clipboardExpand all lines: test/parallel/test-fs-read-type.js+3-3Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
13 | 13 | |
14 | 14 | |
15 | 15 | |
16 | | - |
17 | | - |
| 16 | + |
| 17 | + |
18 | 18 | |
19 | 19 | |
20 | 20 | |
21 | | - |
| 21 | + |
0 commit comments