Add test for large stdline output (#827)

* Add test for large stdline output

* Format/Lint

* Update stdlineoutput.js

* Update stdlineoutput.js
This commit is contained in:
Luke Tomlinson authored and GitHub committed 2021-06-03 09:31:48 -04:00
1 parent 051c1684bd
commit fb323e41eb
2 files changed
+30

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
//Default highWaterMark for readable stream buffers us 64K (2^16)
//so we go over that to get more than a buffer's worth
const os = require('os')
process.stdout.write('a'.repeat(2**16 + 1) + os.EOL);