Skip to content

Commit

Permalink
test: fix strictEqual() argument order
Browse files Browse the repository at this point in the history
PR-URL: #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>
  • Loading branch information
lveteau authored and rvagg committed Nov 28, 2018
1 parent 889acf0 commit 7e98bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/parallel/test-https-connect-address-family.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}));
}));
Expand Down

0 comments on commit 7e98bc6

Please sign in to comment.