test: Remove references to customFds

Option has been deprecated since v0.5.11

Signed-off-by: Fedor Indutny <fedor@indutny.com>
This commit is contained in:
Ryan Graham 2014-07-08 12:14:58 -07:00 committed by Fedor Indutny
parent feac62d8d6
commit a7b14f7a89
3 changed files with 2 additions and 2 deletions

View File

@ -27,7 +27,7 @@ var SIZE = 100000;
var childGone = false;
var cp = ch.spawn('python', ['-c', 'print ' + SIZE + ' * "C"'], {
customFds: [0, 1, 2]
stdio: 'inherit'
});
cp.on('exit', function(code) {

View File

@ -38,7 +38,7 @@ if (gen === maxGen) {
}
var child = ch.spawn(process.execPath, [__filename, gen + 1], {
customFds: [0, -1, 2]
stdio: 'inherit'
});
assert.ok(!child.stdin);
assert.ok(child.stdout);