|
@ -35,10 +35,8 @@ describe('BufferReader', function() { |
|
|
describe('#eof', function() { |
|
|
describe('#eof', function() { |
|
|
|
|
|
|
|
|
it('should return true for a blank br', function() { |
|
|
it('should return true for a blank br', function() { |
|
|
var br = new BufferReader({ |
|
|
var br = new BufferReader(new Buffer([])); |
|
|
buf: new Buffer([]) |
|
|
br.finished().should.equal(true); |
|
|
}); |
|
|
|
|
|
br.eof().should.equal(true); |
|
|
|
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
}); |
|
|
}); |
|
|