Skip to content

Commit 17568c0

Browse files
committed
unit_tests.AddressFromURL.Failure: fixed seemingly wrong assertion
1 parent e952068 commit 17568c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/unit_tests/address_from_url.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ TEST(AddressFromURL, Failure)
114114
std::vector<std::string> addresses = tools::dns_utils::addresses_from_url("example.veryinvalid", dnssec_result);
115115

116116
// for a non-existing domain such as "example.invalid", the non-existence is proved with NSEC records
117-
ASSERT_TRUE(dnssec_result);
117+
ASSERT_FALSE(dnssec_result);
118118

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

0 commit comments

Comments
 (0)