Commit 2313424a authored by Luigi Pinca's avatar Luigi Pinca
Browse files

test: use correct size in test-stream-buffer-list

The `n` argument of `BufferList.prototype.concat()` is not the number
of `Buffer` instances in the list, but their total length when
concatenated.

PR-URL: https://github.com/nodejs/node/pull/18239


Reviewed-By: default avatarMatteo Collina <matteo.collina@gmail.com>
parent 80b3acca
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment