Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
test: add stdin writable regression test
Make sure that `process.stdin.write()`, and in particular
ending the stream, works.
  • Loading branch information
addaleax committed Sep 24, 2018
commit c39c8ac8cb5afd8320e50424c6f40dddef4e9555
3 changes: 3 additions & 0 deletions test/pseudo-tty/test-stdin-write.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
'use strict';
require('../common');
process.stdin.end('foobar\n');
1 change: 1 addition & 0 deletions test/pseudo-tty/test-stdin-write.out
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
foobar