From 8a068ce849f683752dd4df9a41237f3ea863ec21 Mon Sep 17 00:00:00 2001 From: Charlie McConnell Date: Fri, 15 Jun 2012 23:19:31 -0700 Subject: [PATCH] s/exit/close/ in test-child-process-stdout-flush, fixes #3449 --- test/simple/test-child-process-stdout-flush.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/simple/test-child-process-stdout-flush.js b/test/simple/test-child-process-stdout-flush.js index 8dc39c3a5b8..adb33f5c035 100644 --- a/test/simple/test-child-process-stdout-flush.js +++ b/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'); });