Skip to content

Commit

Permalink
test: properly order test assertion variables
Browse files Browse the repository at this point in the history
PR-URL: #23503
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
DavidRS91 authored and addaleax committed Oct 20, 2018
1 parent c4664e4 commit e003e9b
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 e003e9b

Please sign in to comment.