Skip to content

Commit 63631be

Browse files
test: Remove intermittently failing and not very meaningful BOOST_CHECK in cnetaddr_basic
1 parent e7af2f3 commit 63631be

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/test/net_tests.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -307,9 +307,6 @@ BOOST_AUTO_TEST_CASE(cnetaddr_basic)
307307
BOOST_REQUIRE(addr.IsValid());
308308
BOOST_REQUIRE(addr.IsIPv6());
309309
BOOST_CHECK(!addr.IsBindAny());
310-
const std::string addr_str{addr.ToString()};
311-
BOOST_CHECK(addr_str == scoped_addr || addr_str == "fe80:0:0:0:0:0:0:1");
312-
// The fallback case "fe80:0:0:0:0:0:0:1" is needed for macOS 10.14/10.15 and (probably) later.
313310
// Test that the delimiter "%" and default zone id of 0 can be omitted for the default scope.
314311
BOOST_REQUIRE(LookupHost(link_local + "%0", addr, false));
315312
BOOST_REQUIRE(addr.IsValid());

0 commit comments

Comments
 (0)