From d0368b8245479ce644b5d1ec5d076a504f342b9b Mon Sep 17 00:00:00 2001 From: Loic Date: Tue, 23 Oct 2018 15:32:23 +0200 Subject: [PATCH] test: fix strictEqual() argument order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/23829 Reviewed-By: Colin Ihrig Reviewed-By: Michaƫl Zasso Reviewed-By: Luigi Pinca Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat --- test/parallel/test-https-connect-address-family.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-https-connect-address-family.js b/test/parallel/test-https-connect-address-family.js index 8b3584b3396551..65cd59313f109b 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(); })); }));