| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b30a211 commit feec26d
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -8,7 +8,7 @@ const fd = fs.openSync(filepath, 'r'); | |||
| 8 | 8 | const bufferAsync = Buffer.alloc(0); | |
| 9 | 9 | const bufferSync = Buffer.alloc(0); | |
| 10 | 10 | ||
| 11 | - fs.read(fd, bufferAsync, 0, 0, 0, common.mustCall((err, bytesRead) => { | ||
| 11 | + fs.read(fd, bufferAsync, 0, 0, 0, common.mustSucceed((bytesRead) => { | ||
| 12 | 12 | assert.strictEqual(bytesRead, 0); | |
| 13 | 13 | assert.deepStrictEqual(bufferAsync, Buffer.alloc(0)); | |
| 14 | 14 | })); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments