fix NetworkInterface test

This commit is contained in:
Alex Fabijanic 2017-12-20 21:05:51 +01:00
parent 0858ff9e29
commit cfefb61bf3

View File

@ -218,9 +218,9 @@ void NetworkInterfaceTest::testListMapConformance()
List::const_iterator ipEnd = ipList.end();
for(; ipIt != ipEnd; ++ipIt, ++counter, ++listIt)
{
if(listIt == l.end()) fail("wrong number of list items");
NetworkInterface::MACAddress lmac = listIt->macAddress();
assert (lmac == mac);
if(listIt == l.end()) fail("wrong number of list items");
}
}
else