summaryrefslogtreecommitdiff
path: root/test/parallel/test-zlib-brotli-kmaxlength-rangeerror.js
diff options
context:
space:
mode:
authorunknown <rosaxny@gmail.com>2020-05-22 13:22:09 -0400
committerAnna Henningsen <anna@addaleax.net>2020-06-09 17:26:10 +0200
commit278aae28e14da89e6bd6d91c07ded2dc5f8fe8c3 (patch)
treee1ef4a404b91893577de332d9a8e9da1a4ff484a /test/parallel/test-zlib-brotli-kmaxlength-rangeerror.js
parent4678e44bb28c00dc22771a0ef2684a4d46715ab0 (diff)
downloadnode-new-278aae28e14da89e6bd6d91c07ded2dc5f8fe8c3.tar.gz
zlib: add `maxOutputLength` option
Fixes: https://github.com/nodejs/node/issues/27253 PR-URL: https://github.com/nodejs/node/pull/33516 Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'test/parallel/test-zlib-brotli-kmaxlength-rangeerror.js')
-rw-r--r--test/parallel/test-zlib-brotli-kmaxlength-rangeerror.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-zlib-brotli-kmaxlength-rangeerror.js b/test/parallel/test-zlib-brotli-kmaxlength-rangeerror.js
index c1765eec29..6a59ad34b0 100644
--- a/test/parallel/test-zlib-brotli-kmaxlength-rangeerror.js
+++ b/test/parallel/test-zlib-brotli-kmaxlength-rangeerror.js
@@ -11,7 +11,7 @@ const assert = require('assert');
// large Buffers.
const buffer = require('buffer');
const oldkMaxLength = buffer.kMaxLength;
-buffer.kMaxLength = 128;
+buffer.kMaxLength = 64;
const zlib = require('zlib');
buffer.kMaxLength = oldkMaxLength;