diff --git a/spec/node-spec.js b/spec/node-spec.js index 19375008ab1..9382c4c9154 100644 --- a/spec/node-spec.js +++ b/spec/node-spec.js @@ -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) }) })