Commit 52edebc
test: improve test-fs-empty-readStream.js
* use const instead of var
* use common.mustCall to control functions execution
* use assert.strictEqual instead of assert.equal
* use arrow functions
PR-URL: #10479
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Italo A. Casas <me@italoacasas.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>1 parent 08e924e commit 52edebcCopy full SHA for 52edebc
File tree
Expand file treeCollapse file tree
1 file changed
+16
-16
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+16
-16
lines changedOpen diff view settings
Collapse file
test/parallel/test-fs-empty-readStream.js
Copy file name to clipboard+16-16Lines changed: 16 additions & 16 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1 | 1 | |
2 | | - |
3 | | - |
4 | | - |
5 | | - |
| 2 | + |
| 3 | + |
| 4 | + |
| 5 | + |
6 | 6 | |
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 | 22 | |
23 | 23 | |
24 | | - |
| 24 | + |
25 | 25 | |
26 | 26 | |
27 | | - |
| 27 | + |
28 | 28 | |
29 | 29 | |
30 | 30 | |
31 | 31 | |
32 | 32 | |
33 | 33 | |
34 | 34 | |
35 | | - |
36 | | - |
37 | | - |
38 | | - |
| 35 | + |
| 36 | + |
| 37 | + |
| 38 | + |
0 commit comments