Skip to content

Commit

Permalink
test: switch assertion order
Browse files Browse the repository at this point in the history
  • Loading branch information
yomarguti committed Jun 21, 2019
1 parent 5790a47 commit 7571746
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/pummel/test-child-process-spawn-loop.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,11 @@ function doSpawn(i) {
let count = 0;

child.stdout.setEncoding('ascii');
child.stdout.on('data', chunk => {
child.stdout.on('data', (chunk) => {
count += chunk.length;
});

child.stderr.on('data', chunk => {
child.stderr.on('data', (chunk) => {
console.log(`stderr: ${chunk}`);
});

Expand Down

0 comments on commit 7571746

Please sign in to comment.