mirror of https://github.com/nodejs/node.git
test: fix typo in test-child-process-stdout-flush
parent
bab59f33e7
commit
8cdbf014bd
|
@ -40,7 +40,7 @@ child.stderr.on('data', function(data) {
|
|||
assert.ok(false);
|
||||
});
|
||||
|
||||
child.stderr.setEncoding('utf8');
|
||||
child.stdout.setEncoding('utf8');
|
||||
child.stdout.on('data', function(data) {
|
||||
count += data.length;
|
||||
console.log(count);
|
||||
|
|
Loading…
Reference in New Issue