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 c0e24f9 commit 8f984c3Copy full SHA for 8f984c3
test/parallel/test-fs-read-zero-length.js
@@ -7,7 +7,7 @@ const filepath = path.join(common.fixturesDir, 'x.txt');
7
const fd = fs.openSync(filepath, 'r');
8
const expected = '';
9
10
-fs.read(fd, 0, 0, 'utf-8', common.mustCall(function(err, str, bytesRead) {
+fs.read(fd, 0, 0, 'utf-8', common.mustCall((err, str, bytesRead) => {
11
assert.ok(!err);
12
assert.equal(str, expected);
13
assert.equal(bytesRead, 0);
0 commit comments