Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2011-08-02 01:48:19 +0400
committerRyan Dahl <ry@tinyclouds.org>2011-08-02 01:48:45 +0400
commit1710bea3554db6506c698c651e639743f3f22e2e (patch)
treee3fb2a2939a2a55ee8c3a56b02d9d10565e7abe7 /test
parent7c07e75db9874f9172fe836b1412d53c13973b33 (diff)
Add a few more asserts to test/simple/test-child-process-stdin.js
Diffstat (limited to 'test')
-rw-r--r--test/simple/test-child-process-stdin.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/simple/test-child-process-stdin.js b/test/simple/test-child-process-stdin.js
index 6352366674d..7e05809b781 100644
--- a/test/simple/test-child-process-stdin.js
+++ b/test/simple/test-child-process-stdin.js
@@ -28,6 +28,10 @@ var cat = spawn('cat');
cat.stdin.write('hello');
cat.stdin.write(' ');
cat.stdin.write('world');
+
+assert.ok(cat.stdin.writable);
+assert.ok(!cat.stdin.readable);
+
cat.stdin.end();
var response = '';