We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2057a63 commit d86ff5fCopy full SHA for d86ff5f
test/parallel/test-fs-read-zero-length.js
@@ -9,7 +9,7 @@ const fd = fs.openSync(filepath, 'r');
9
const bufferAsync = Buffer.alloc(0);
10
const bufferSync = Buffer.alloc(0);
11
12
-fs.read(fd, bufferAsync, 0, 0, 0, common.mustCall(function(err, bytesRead) {
+fs.read(fd, bufferAsync, 0, 0, 0, common.mustCall((err, bytesRead) => {
13
assert.strictEqual(bytesRead, 0);
14
assert.deepStrictEqual(bufferAsync, Buffer.alloc(0));
15
}));
0 commit comments