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 <cjihrig@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
manishepoch authored and BridgeAR committed Nov 13, 2018
1 parent 81f4fb2 commit 5510bec
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 5510bec

Please sign in to comment.