Skip to content

Commit

Permalink
Added cleaner hasEmptyTail method
Browse files Browse the repository at this point in the history
  • Loading branch information
abdulapopoola committed Oct 26, 2015
1 parent ed9b7b4 commit d93abf9
Show file tree
Hide file tree
Showing 2 changed files with 96 additions and 82 deletions.
1 change: 1 addition & 0 deletions spec/stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ describe('Stream()', function () {
it('head throws an exception for empty Streams', function () {
var stream = new Stream();
expect(stream.head).to.throw('Stream is empty!');
expect(stream.tail).to.throw('Stream is empty!');
});

it('tail throws an exception for empty Streams', function () {
Expand Down
Loading

0 comments on commit d93abf9

Please sign in to comment.