Suppress uncoverable error in common/io-tls test module.
It is pretty much impossible for a static IP to not resolve to an address but in theory the error could catch other conditions so it seems best to keep it.
@@ -132,7 +132,10 @@ testRun(void)
const char *port = "7777";
if ((result = getaddrinfo(host, port, &hints, &hostAddress)) != 0)
- THROW_FMT(HostConnectError, "unable to get address for '%s': [%d] %s", host, result, gai_strerror(result));
+ {
+ THROW_FMT( // {uncoverable - lookup on IP should never fail}
+ HostConnectError, "unable to get address for '%s': [%d] %s", host, result, gai_strerror(result));
+ }
TRY_BEGIN()
{
