Skip to content

Commit fd3b1d1

Browse files
DavidRS91jasnell
authored andcommitted
test: properly order test assertion variables
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>
1 parent e087f26 commit fd3b1d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-child-process-set-blocking.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,5 +31,5 @@ const cp = ch.spawn('python', ['-c', `print ${SIZE} * "C"`], {
3131
});
3232

3333
cp.on('exit', common.mustCall(function(code) {
34-
assert.strictEqual(0, code);
34+
assert.strictEqual(code, 0);
3535
}));

0 commit comments

Comments
 (0)