Skip to content

Commit

Permalink
squash: nits from targos
Browse files Browse the repository at this point in the history
  • Loading branch information
Trott committed Dec 14, 2016
1 parent cbceb8d commit c5cf4ed
Showing 1 changed file with 4 additions and 8 deletions.
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

0 comments on commit c5cf4ed

Please sign in to comment.