test: fix strictEqual() argument order
PR-URL: https://github.com/nodejs/node/pull/23829 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
parent
c82920214b
commit
817e2e8a76
@ -37,7 +37,7 @@ const https = require('https');
|
|||||||
};
|
};
|
||||||
// Will fail with ECONNREFUSED if the address family is not honored.
|
// Will fail with ECONNREFUSED if the address family is not honored.
|
||||||
https.get(options, common.mustCall(function() {
|
https.get(options, common.mustCall(function() {
|
||||||
assert.strictEqual('::1', this.socket.remoteAddress);
|
assert.strictEqual(this.socket.remoteAddress, hostAddrIPv6);
|
||||||
this.destroy();
|
this.destroy();
|
||||||
}));
|
}));
|
||||||
}));
|
}));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user