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:
Anna Henningsen committed 2018-10-04 09:20:25 -07:00
1 parent cbc3ef64ce
commit 8bf48bf2cf
2 files changed
+4

No files matched your search

+3
View File
@@ -0,0 +1,3 @@
'use strict';
require('../common');
process.stdin.end('foobar\n');
+1
View File
@@ -0,0 +1 @@
foobar