aboutsummaryrefslogtreecommitdiff
path: root/test/parallel/test-https-localaddress.js
diff options
context:
space:
mode:
authorIan Sutherland <ian@iansutherland.ca>2018-10-12 11:33:54 -0700
committerRuben Bridgewater <ruben@bridgewater.de>2018-10-15 15:38:36 +0200
commit697c3da30820c37cdd571e64c467494452b38d4b (patch)
treee69fb653b8f1f8646281d8720804d62a222684ca /test/parallel/test-https-localaddress.js
parentf8b1e0e4b9c8395969df859f9de5663cd576cf1c (diff)
downloadandroid-node-v8-697c3da30820c37cdd571e64c467494452b38d4b.tar.gz
android-node-v8-697c3da30820c37cdd571e64c467494452b38d4b.tar.bz2
android-node-v8-697c3da30820c37cdd571e64c467494452b38d4b.zip
test: fix assert parameter order in test-https-localaddress.js
PR-URL: https://github.com/nodejs/node/pull/23599 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Diffstat (limited to 'test/parallel/test-https-localaddress.js')
-rw-r--r--test/parallel/test-https-localaddress.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-https-localaddress.js b/test/parallel/test-https-localaddress.js
index 4bf3835ddd..6c6cac37cc 100644
--- a/test/parallel/test-https-localaddress.js
+++ b/test/parallel/test-https-localaddress.js
@@ -39,7 +39,7 @@ const options = {
const server = https.createServer(options, function(req, res) {
console.log(`Connect from: ${req.connection.remoteAddress}`);
- assert.strictEqual('127.0.0.2', req.connection.remoteAddress);
+ assert.strictEqual(req.connection.remoteAddress, '127.0.0.2');
req.on('end', function() {
res.writeHead(200, { 'Content-Type': 'text/plain' });