s/exit/close/ in test-child-process-stdout-flush, fixes #3449
This commit is contained in:
parent
bc18bf4ec0
commit
8a068ce849
@ -46,7 +46,7 @@ child.stdout.on('data', function(data) {
|
||||
console.log(count);
|
||||
});
|
||||
|
||||
child.on('exit', function(data) {
|
||||
child.on('close', function(data) {
|
||||
assert.equal(n, count);
|
||||
console.log('okay');
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user