Skip to content

Commit

Permalink
test: fix assert argument order
Browse files Browse the repository at this point in the history
PR-URL: nodejs#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 Trott committed Nov 10, 2018
1 parent 08bd823 commit 3ffc84a
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 3ffc84a

Please sign in to comment.