Update buffer length asserts

This commit is contained in:
Kevin Sawicki 2016-06-29 09:44:38 -07:00
parent 8b35814d10
commit 03497fb984

View file

@ -214,9 +214,9 @@ describe('node feature', function () {
it('does not crash when creating large Buffers', function () {
var buffer = new Buffer(new Array(4096).join(' '))
assert.equal(buffer.length, 4096)
assert.equal(buffer.length, 4095)
buffer = new Buffer(new Array(4097).join(' '))
assert.equal(buffer.length, 4097)
assert.equal(buffer.length, 4096)
})
})