Permalink
Browse files

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

  • Loading branch information...
1 parent bab59f3 commit 8cdbf014bd40c679970f6a73173a80d15e5f2275 @vinc vinc committed with bnoordhuis Feb 28, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 test/simple/test-child-process-stdout-flush.js
@@ -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);

0 comments on commit 8cdbf01

Please sign in to comment.