Skip to content

Commit

Permalink
test: consolidate assertions in ipv6only test
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
Trott authored and rvagg committed Feb 28, 2019
1 parent e108c32 commit 59ca9e9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/parallel/test-cluster-net-listen-ipv6only-rr.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ if (cluster.isMaster) {
if (!address) {
address = workerAddress;
} else {
assert.strictEqual(address.addressType, workerAddress.addressType);
assert.strictEqual(address.host, workerAddress.host);
assert.strictEqual(address.port, workerAddress.port);
assert.deepStrictEqual(workerAddress, address);
}
countdown.dec();
}));
Expand Down

0 comments on commit 59ca9e9

Please sign in to comment.