test: fix typo in test-child-process-stdout-flush

pull/24503/head
Vincent Ollivier 2012-02-28 20:19:50 +01:00 committed by Ben Noordhuis
parent bab59f33e7
commit 8cdbf014bd
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ child.stderr.on('data', function(data) {
assert.ok(false); assert.ok(false);
}); });
child.stderr.setEncoding('utf8'); child.stdout.setEncoding('utf8');
child.stdout.on('data', function(data) { child.stdout.on('data', function(data) {
count += data.length; count += data.length;
console.log(count); console.log(count);