mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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:
1 parent
85059a94f6
commit
91ec3137fc
1 file changed
+1
-1
@@ -41,7 +41,7 @@ function serialFork() {
|
||||
if (code === 12) {
|
||||
return assert.fail(`worker ${worker.id} failed to bind port`);
|
||||
}
|
||||
assert.strictEqual(0, code);
|
||||
assert.strictEqual(code, 0);
|
||||
}));
|
||||
worker.on('disconnect', common.mustCall(res));
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user