mirror of
https://git.wownero.com/wownero/wownero.git
synced 2024-12-23 06:18:52 +00:00
unit_tests: fix longstanding DNS related unit test
This commit is contained in:
parent
8bf5a00564
commit
bef1750f65
@ -109,7 +109,7 @@ TEST(AddressFromURL, Failure)
|
|||||||
{
|
{
|
||||||
bool dnssec_result = false;
|
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
|
// for a non-existing domain such as "example.invalid", the non-existence is proved with NSEC records
|
||||||
ASSERT_TRUE(dnssec_result);
|
ASSERT_TRUE(dnssec_result);
|
||||||
|
Loading…
Reference in New Issue
Block a user