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:
scabhi authored and Myles Borins committed 2018-11-29 11:38:35 -05:00
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));
});