diff options
author | practicalswift <practicalswift@users.noreply.github.com> | 2021-04-15 06:23:43 +0000 |
---|---|---|
committer | practicalswift <practicalswift@users.noreply.github.com> | 2021-04-15 06:19:30 +0000 |
commit | 63631beef6a0046390469971adf4500718ab34ad (patch) | |
tree | 065a740953e81baa642ede2ca8c75d65c8e85a1b /src | |
parent | e7af2f35af95f4ca51e38c8ac5b05cad8be22489 (diff) |
test: Remove intermittently failing and not very meaningful `BOOST_CHECK` in `cnetaddr_basic`
Diffstat (limited to 'src')
-rw-r--r-- | src/test/net_tests.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/test/net_tests.cpp b/src/test/net_tests.cpp index 8eab26f3d5..1c397481dc 100644 --- a/src/test/net_tests.cpp +++ b/src/test/net_tests.cpp @@ -307,9 +307,6 @@ BOOST_AUTO_TEST_CASE(cnetaddr_basic) BOOST_REQUIRE(addr.IsValid()); BOOST_REQUIRE(addr.IsIPv6()); BOOST_CHECK(!addr.IsBindAny()); - const std::string addr_str{addr.ToString()}; - BOOST_CHECK(addr_str == scoped_addr || addr_str == "fe80:0:0:0:0:0:0:1"); - // The fallback case "fe80:0:0:0:0:0:0:1" is needed for macOS 10.14/10.15 and (probably) later. // Test that the delimiter "%" and default zone id of 0 can be omitted for the default scope. BOOST_REQUIRE(LookupHost(link_local + "%0", addr, false)); BOOST_REQUIRE(addr.IsValid()); |