Commit dba8d20
test: improve the code in test-fs-read-stream
* use const and let instead of var
* use assert.strictEqual instead of assert.equal
* use arrow functions
PR-URL: #10556
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
Reviewed-By: Italo A. Casas <me@italoacasas.com>
Reviewed-By: Brian White <mscdex@mscdex.net>1 parent eba9add commit dba8d20Copy full SHA for dba8d20
File tree
Expand file treeCollapse file tree
1 file changed
+9
-10
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+9
-10
lines changedOpen diff view settings
Collapse file
test/parallel/test-fs-read-stream-fd.js
Copy file name to clipboardExpand all lines: test/parallel/test-fs-read-stream-fd.js+9-10Lines changed: 9 additions & 10 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
3 | 3 | |
4 | 4 | |
5 | 5 | |
6 | | - |
7 | | - |
8 | | - |
9 | | - |
| 6 | + |
| 7 | + |
10 | 8 | |
| 9 | + |
11 | 10 | |
12 | 11 | |
13 | | - |
14 | 12 | |
15 | | - |
16 | | - |
| 13 | + |
| 14 | + |
| 15 | + |
| 16 | + |
17 | 17 | |
18 | 18 | |
19 | 19 | |
20 | | - |
21 | | - |
22 | | - |
| 20 | + |
| 21 | + |
23 | 22 | |
0 commit comments