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 MylesBorins committed Nov 29, 2018
1 parent d1c6238 commit 682361c
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 682361c

Please sign in to comment.