We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ffdf605 commit 939517aCopy full SHA for 939517a
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.strictEqual(str, expected);
13
assert.strictEqual(bytesRead, 0);
0 commit comments