diff --git a/Tests/Unit/TestNGInternetSocketAddress.m b/Tests/Unit/TestNGInternetSocketAddress.m index d0d787be3..4f4a7bb02 100644 --- a/Tests/Unit/TestNGInternetSocketAddress.m +++ b/Tests/Unit/TestNGInternetSocketAddress.m @@ -45,7 +45,7 @@ is_localhost = [addr isLocalhost]; error = [NSString stringWithFormat: - @"expected '%@' to be a localhost address", *curHost]; + @"expected '%@' to be a localhost address. Is libnss-myhostname installed and activated in /etc/nsswitch.conf?", *curHost]; testWithMessage(is_localhost, error); curHost++;