mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
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:
1 parent
1c5ffb3ec5
commit
22caa26c69
1 file changed
+1
-1
@@ -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();
|
||||
}));
|
||||
}));
|
||||
|
||||
Reference in new issue
Block a user