mirror of https://github.com/nodejs/node.git
s/exit/close/ in test-child-process-stdout-flush, fixes #3449
parent
bc18bf4ec0
commit
8a068ce849
|
@ -46,7 +46,7 @@ child.stdout.on('data', function(data) {
|
||||||
console.log(count);
|
console.log(count);
|
||||||
});
|
});
|
||||||
|
|
||||||
child.on('exit', function(data) {
|
child.on('close', function(data) {
|
||||||
assert.equal(n, count);
|
assert.equal(n, count);
|
||||||
console.log('okay');
|
console.log('okay');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue