| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 7aaecce commit 2c75b9e
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -203,7 +203,7 @@ assert.throws( | |||
| 203 | 203 | ||
| 204 | 204 | if (common.enoughTestMem) { | |
| 205 | 205 | assert.throws( | |
| 206 | - () => new StringDecoder().write(Buffer.alloc(0x1fffffe8 + 1).fill('a')), | ||
| 206 | + () => new StringDecoder().write(Buffer.alloc((process.arch === 'ia32' ? 0x18ffffe8 : 0x1fffffe8) + 1).fill('a')), | ||
| 207 | 207 | { | |
| 208 | 208 | code: 'ERR_STRING_TOO_LONG', | |
| 209 | 209 | } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments