Skip to content

Commit

Permalink
unit_tests.AddressFromURL.Failure: fixed seemingly wrong assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
stoffu committed Dec 20, 2022
1 parent e952068 commit 17568c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/unit_tests/address_from_url.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ TEST(AddressFromURL, Failure)
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);
ASSERT_FALSE(dnssec_result);

ASSERT_EQ(0, addresses.size());
}

0 comments on commit 17568c0

Please sign in to comment.