From 8c24a63423bb33a9ab8b02f3182097d0712d34c8 Mon Sep 17 00:00:00 2001 From: "garrik.leonardo@gmail.com" Date: Fri, 12 Oct 2018 12:34:28 -0500 Subject: [PATCH] test: updating assertion on test so it fits the new method signature One assertion on test-tls-connect-address-family.js was out fo date, here we are fixing it to match the signature of strictEqual method. PR-URL: https://github.com/nodejs/node/pull/23536 Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat Reviewed-By: Colin Ihrig Reviewed-By: Gireesh Punathil Reviewed-By: Ruben Bridgewater --- test/parallel/test-tls-connect-address-family.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/parallel/test-tls-connect-address-family.js b/test/parallel/test-tls-connect-address-family.js index 75416c397d7c75..569688ca8abd18 100644 --- a/test/parallel/test-tls-connect-address-family.js +++ b/test/parallel/test-tls-connect-address-family.js @@ -26,7 +26,7 @@ function runTest() { }; // Will fail with ECONNREFUSED if the address family is not honored. tls.connect(options).once('secureConnect', common.mustCall(function() { - assert.strictEqual('::1', this.remoteAddress); + assert.strictEqual(this.remoteAddress, '::1'); this.destroy(); })); }));