unit_tests: fix longstanding DNS related unit test

This commit is contained in:
moneromooo-monero 2018-09-28 15:27:46 +00:00
parent 8bf5a00564
commit bef1750f65
No known key found for this signature in database
GPG Key ID: 686F07454D6CEFC3

View File

@ -109,7 +109,7 @@ TEST(AddressFromURL, Failure)
{
bool dnssec_result = false;
std::vector<std::string> addresses = tools::dns_utils::addresses_from_url("example.invalid", dnssec_result);
std::vector<std::string> addresses = tools::dns_utils::addresses_from_url("example.veryinvalid", dnssec_result);
// for a non-existing domain such as "example.invalid", the non-existence is proved with NSEC records
ASSERT_TRUE(dnssec_result);