mirror of
https://github.com/pocoproject/poco.git
synced 2025-03-31 16:04:27 +02:00
fix NetworkInterface test
This commit is contained in:
parent
bc5c40fb47
commit
db414bf6e9
@ -219,13 +219,14 @@ 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
|
||||
{
|
||||
++listIt;
|
||||
++counter;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user