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:
Loic 2018-10-23 15:32:23 +02:00 committed by Daniel Bevenius
parent c82920214b
commit 817e2e8a76

View File

@ -37,7 +37,7 @@ const https = require('https');
};
// Will fail with ECONNREFUSED if the address family is not honored.
https.get(options, common.mustCall(function() {
assert.strictEqual('::1', this.socket.remoteAddress);
assert.strictEqual(this.socket.remoteAddress, hostAddrIPv6);
this.destroy();
}));
}));