diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2011-08-02 01:48:19 +0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-08-02 01:48:45 +0400 |
commit | 1710bea3554db6506c698c651e639743f3f22e2e (patch) | |
tree | e3fb2a2939a2a55ee8c3a56b02d9d10565e7abe7 /test | |
parent | 7c07e75db9874f9172fe836b1412d53c13973b33 (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.js | 4 |
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 = ''; |