Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit eab7d50

Browse files
committedApr 16, 2019
test: fix test-benchmark-buffer
Using `len=2` in test-benchmark-buffer was resulting in a `RangeError` in buffer-base64-encode.js. Change to `len=256` which works in all buffer benchmarks.
1 parent 3f8ac4a commit eab7d50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎test/benchmark/test-benchmark-buffer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ runBenchmark('buffers',
1313
'charsPerLine=6',
1414
'encoding=utf8',
1515
'endian=BE',
16-
'len=2',
16+
'len=256',
1717
'linesCount=1',
1818
'method=',
1919
'n=1',

0 commit comments

Comments
 (0)
Please sign in to comment.