Skip to content

Commit 6b3e7ef

Browse files
committed
wrapped callbacks in common.mustCall
1 parent 9baa222 commit 6b3e7ef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/parallel/test-fs-empty-readStream.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ const fs = require('fs');
66

77
const emptyFile = path.join(common.fixturesDir, 'empty.txt');
88

9-
109
fs.open(emptyFile, 'r', common.mustCall((error, fd) => {
1110

1211
assert.ifError(error);
@@ -38,5 +37,5 @@ fs.open(emptyFile, 'r', common.mustCall((error, fd) => {
3837

3938
setTimeout(common.mustCall(() => {
4039
assert.strictEqual(read.isPaused(), true);
41-
}), common.platformTimeout(50));
40+
}, common.platformTimeout(50));
4241
}));

0 commit comments

Comments
 (0)