test: reversed arguments in strictqual to reflect documentation
PR-URL: https://github.com/nodejs/node/pull/23494 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> 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: Ruben Bridgewater <ruben@bridgewater.de>
This commit is contained in:
parent
65e225383e
commit
3fda9860ec
@ -41,7 +41,7 @@ function serialFork() {
|
|||||||
if (code === 12) {
|
if (code === 12) {
|
||||||
return assert.fail(`worker ${worker.id} failed to bind port`);
|
return assert.fail(`worker ${worker.id} failed to bind port`);
|
||||||
}
|
}
|
||||||
assert.strictEqual(0, code);
|
assert.strictEqual(code, 0);
|
||||||
}));
|
}));
|
||||||
worker.on('disconnect', common.mustCall(res));
|
worker.on('disconnect', common.mustCall(res));
|
||||||
});
|
});
|
||||||
|
Loading…
x
Reference in New Issue
Block a user