Commit f064520
test: improve test-fs-access
* use const and let instead of var
* use common.mustCall to control functions execution
* use assert.ifError instead of assert.strictEqual for errors
* use arrow functions
PR-URL: #10542
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>1 parent 4fd765e commit f064520Copy full SHA for f064520
File tree
Expand file treeCollapse file tree
1 file changed
+22
-22
lines changedOpen diff view settings
Filter options
- test/parallel
Expand file treeCollapse file tree
1 file changed
+22
-22
lines changedOpen diff view settings
Collapse file
test/parallel/test-fs-access.js
Copy file name to clipboardExpand all lines: test/parallel/test-fs-access.js+22-22Lines changed: 22 additions & 22 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
63 | 63 | |
64 | 64 | |
65 | 65 | |
66 | | - |
67 | | - |
68 | | - |
| 66 | + |
| 67 | + |
| 68 | + |
69 | 69 | |
70 | | - |
71 | | - |
72 | | - |
| 70 | + |
| 71 | + |
| 72 | + |
73 | 73 | |
74 | | - |
| 74 | + |
75 | 75 | |
76 | 76 | |
77 | 77 | |
78 | | - |
| 78 | + |
79 | 79 | |
80 | | - |
81 | | - |
82 | | - |
| 80 | + |
| 81 | + |
| 82 | + |
83 | 83 | |
84 | | - |
| 84 | + |
85 | 85 | |
86 | | - |
| 86 | + |
87 | 87 | |
88 | 88 | |
89 | 89 | |
90 | 90 | |
91 | | - |
| 91 | + |
92 | 92 | |
93 | | - |
94 | | - |
| 93 | + |
| 94 | + |
95 | 95 | |
96 | 96 | |
97 | | - |
| 97 | + |
98 | 98 | |
99 | 99 | |
100 | 100 | |
101 | | - |
| 101 | + |
102 | 102 | |
103 | 103 | |
104 | 104 | |
105 | | - |
| 105 | + |
106 | 106 | |
107 | 107 | |
108 | 108 | |
| ||
112 | 112 | |
113 | 113 | |
114 | 114 | |
115 | | - |
| 115 | + |
116 | 116 | |
117 | | - |
| 117 | + |
118 | 118 | |
119 | 119 | |
120 | 120 | |
121 | | - |
| 121 | + |
122 | 122 | |
123 | 123 | |
124 | 124 | |
0 commit comments