test: consolidate assertions in ipv6only test
PR-URL: https://github.com/nodejs/node/pull/26149 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
parent
921f448d0d
commit
c37b39282b
@ -40,9 +40,7 @@ if (cluster.isMaster) {
|
|||||||
if (!address) {
|
if (!address) {
|
||||||
address = workerAddress;
|
address = workerAddress;
|
||||||
} else {
|
} else {
|
||||||
assert.strictEqual(address.addressType, workerAddress.addressType);
|
assert.deepStrictEqual(workerAddress, address);
|
||||||
assert.strictEqual(address.host, workerAddress.host);
|
|
||||||
assert.strictEqual(address.port, workerAddress.port);
|
|
||||||
}
|
}
|
||||||
countdown.dec();
|
countdown.dec();
|
||||||
}));
|
}));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user