Remove intermittently failing and not very meaningful BOOST_CHECK
in cnetaddr_basic
.
Fixes #21682.
Rationale from #21682 (comment):
I’ve looked at that test before and I don’t think that specific
BOOST_CHECK
makes much sense TBH :)1.) I don’t understand why we test if
ToString()
output includes%zone_index
: it clearly doesn’t on some platforms, so we cannot rely on it anyways. Then why test it?2.) And perhaps more fundamentally: why would we even want to have
%zone_index
in our textualToString()
output? I think the expectation is to get sayfe80::1ff:fe23:4567:890a
(without zone index) and not sayfe80::1ff:fe23:4567:890a%eth2
orfe80::1ff:fe23:4567:890a%3
when doingipv6_addr.ToString()
:)