From 03497fb984636ca3f7155468202422e0c4e4341d Mon Sep 17 00:00:00 2001 From: Kevin Sawicki Date: Wed, 29 Jun 2016 09:44:38 -0700 Subject: [PATCH] Update buffer length asserts --- spec/node-spec.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/node-spec.js b/spec/node-spec.js index 19375008a..9382c4c91 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) }) })