Skip to content

Commit

Permalink
test(read): test options object in arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
floatdrop committed Aug 17, 2014
1 parent 4e2a9a8 commit 459cc9f
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions test/index.js
Expand Up @@ -12,6 +12,12 @@ describe('read', function () {
.on('end', done);
});

it('should accept options', function (done) {
read({})
.on('data', done)
.on('end', done);
});

it('should accept array of streams', function (done) {
var stream = through.obj();

Expand Down

0 comments on commit 459cc9f

Please sign in to comment.