We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05d58d2 commit 97a6bb7Copy full SHA for 97a6bb7
test/parallel/test-string-decoder.js
@@ -203,7 +203,7 @@ assert.throws(
203
204
if (common.enoughTestMem) {
205
assert.throws(
206
- () => new StringDecoder().write(Buffer.alloc(0x1fffffe8 + 1).fill('a')),
+ () => new StringDecoder().write(Buffer.alloc((process.arch === 'ia32' ? 0x18ffffe8 : 0x1fffffe8) + 1).fill('a')),
207
{
208
code: 'ERR_STRING_TOO_LONG',
209
}
0 commit comments