mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
test: properly order test assertion variables
PR-URL: https://github.com/nodejs/node/pull/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>
This commit is contained in:
1 parent
e3f34934fc
commit
2e879a6979
1 file changed
+1
-1
@@ -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);
|
||||
}));
|
||||
Reference in new issue
Block a user