Skip to content

Commit

Permalink
test: fix assert argument order
Browse files Browse the repository at this point in the history
PR-URL: #24160
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
manishepoch authored and MylesBorins committed Dec 26, 2018
1 parent fc84ccd commit e0c6f5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/parallel/test-child-process-stdio.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ const { spawn } = require('child_process');
}));

child.on('close', common.mustCall(function() {
assert.strictEqual(true, output.length > 1);
assert.strictEqual('\n', output[output.length - 1]);
assert.strictEqual(output.length > 1, true);
assert.strictEqual(output[output.length - 1], '\n');
}));
}

Expand Down

0 comments on commit e0c6f5c

Please sign in to comment.