Commit ff23d81
test: improve test-fs-readfile-zero-byte-liar
* use const instead of var
* use assert.strictEqual instead of assert.equal
* use arrow functions
PR-URL: #10570
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Italo A. Casas <me@italoacasas.com>
Reviewed-By: James M Snell <jasnell@gmail.com>1 parent 38bdfb0 commit ff23d81Copy full SHA for ff23d81
File tree
Expand file treeCollapse file tree
1 file changed
+9
-9
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+9
-9
lines changedOpen diff view settings
Collapse file
test/parallel/test-fs-readfile-zero-byte-liar.js
Copy file name to clipboardExpand all lines: test/parallel/test-fs-readfile-zero-byte-liar.js+9-9Lines changed: 9 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
| 6 | + |
7 | 7 | |
8 | 8 | |
9 | 9 | |
10 | 10 | |
11 | 11 | |
12 | | - |
13 | | - |
| 12 | + |
| 13 | + |
14 | 14 | |
15 | 15 | |
16 | 16 | |
17 | 17 | |
18 | 18 | |
19 | 19 | |
20 | | - |
21 | | - |
| 20 | + |
| 21 | + |
22 | 22 | |
23 | 23 | |
24 | 24 | |
25 | 25 | |
26 | | - |
27 | | - |
| 26 | + |
| 27 | + |
28 | 28 | |
29 | | - |
30 | | - |
| 29 | + |
| 30 | + |
31 | 31 | |
0 commit comments