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
squash: nits from targos
  • Loading branch information
Trott committed Dec 14, 2016
commit c5cf4eddaae236f476dc7739aa8038629288b02e
12 changes: 4 additions & 8 deletions test/parallel/test-fs-read-stream-inherit.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,9 @@ let paused = false;
file.on('end', common.mustCall(function() {}));


file.on('close', common.mustCall(function() {}));

process.on('exit', function() {
file.on('close', common.mustCall(function() {
assert.strictEqual(file.length, 30000);
});
}));
}

{
Expand All @@ -62,11 +60,9 @@ let paused = false;
}
});

file3.on('close', common.mustCall(function() {}));

process.on('exit', function() {
file3.on('close', common.mustCall(function() {
assert.strictEqual(file3.length, 10000);
});
}));
}

{
Expand Down