mirror of
https://github.com/nodejs/node.git
synced 2026-10-28 10:15:07 +08:00
test: add stdin writable regression test
Make sure that `process.stdin.write()`, and in particular ending the stream, works. PR-URL: https://github.com/nodejs/node/pull/23053 Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
2 files changed
+4
No files matched your search
@@ -0,0 +1,3 @@
|
||||
'use strict';
|
||||
require('../common');
|
||||
process.stdin.end('foobar\n');
|
||||
@@ -0,0 +1 @@
|
||||
foobar
|
||||
Reference in new issue
Block a user