Skip to content

Commit

Permalink
test: properly order test assertion variables
Browse files Browse the repository at this point in the history
PR-URL: nodejs#23503
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Ruben Bridgewater <[email protected]>
  • Loading branch information
DavidRS91 authored and BridgeAR committed Oct 15, 2018
1 parent aa5cb57 commit d2afd9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-child-process-set-blocking.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ const cp = ch.spawn('python', ['-c', `print ${SIZE} * "C"`], {
});

cp.on('exit', common.mustCall(function(code) {
assert.strictEqual(0, code);
assert.strictEqual(code, 0);
}));

0 comments on commit d2afd9e

Please sign in to comment.