This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

s/exit/close/ in test-child-process-stdout-flush, fixes #3449

  • Loading branch information...
AvianFlu authored and isaacs committed Jun 16, 2012
1 parent bc18bf4 commit 8a068ce849f683752dd4df9a41237f3ea863ec21
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/simple/test-child-process-stdout-flush.js
@@ -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');
});

0 comments on commit 8a068ce

Please sign in to comment.