Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
wrapped callbacks in common.mustCall
  • Loading branch information
itsmed committed Jan 18, 2017
commit 6b3e7efbd754d71fe892fbdc03a0211d7fa9ddb9
3 changes: 1 addition & 2 deletions test/parallel/test-fs-empty-readStream.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ const fs = require('fs');

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


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

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

setTimeout(common.mustCall(() => {
assert.strictEqual(read.isPaused(), true);
}), common.platformTimeout(50));
}, common.platformTimeout(50));
}));