diff options
author | Loic <loic.veteau@outlook.fr> | 2018-10-23 15:32:23 +0200 |
---|---|---|
committer | Daniel Bevenius <daniel.bevenius@gmail.com> | 2018-10-26 05:22:58 +0200 |
commit | 817e2e8a762792b7997425548aaded4d7b08f601 (patch) | |
tree | a58447bc59b1bc1e79efd0436ed25621c7681f69 | |
parent | c82920214bc03857061b47fe6bee3b21933eabe8 (diff) | |
download | android-node-v8-817e2e8a762792b7997425548aaded4d7b08f601.tar.gz android-node-v8-817e2e8a762792b7997425548aaded4d7b08f601.tar.bz2 android-node-v8-817e2e8a762792b7997425548aaded4d7b08f601.zip |
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>
-rw-r--r-- | test/parallel/test-https-connect-address-family.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-https-connect-address-family.js b/test/parallel/test-https-connect-address-family.js index 8b3584b339..65cd59313f 100644 --- a/test/parallel/test-https-connect-address-family.js +++ b/test/parallel/test-https-connect-address-family.js @@ -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(); })); })); |