Skip to content

Commit 22caa26

Browse files
lveteautargos
authored andcommitted
test: fix strictEqual() argument order
PR-URL: #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>
1 parent 1c5ffb3 commit 22caa26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/parallel/test-https-connect-address-family.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const https = require('https');
3737
};
3838
// Will fail with ECONNREFUSED if the address family is not honored.
3939
https.get(options, common.mustCall(function() {
40-
assert.strictEqual('::1', this.socket.remoteAddress);
40+
assert.strictEqual(this.socket.remoteAddress, hostAddrIPv6);
4141
this.destroy();
4242
}));
4343
}));

0 commit comments

Comments
 (0)