Commit cbc5b22e authored by Razvan Becheriu's avatar Razvan Becheriu

[#1265] reverted remove of assert

parent c85f9765
......@@ -286,6 +286,7 @@ TEST(SharedNetwork4Test, delSubnet4) {
// We should be left with only one subnet.
ASSERT_EQ(1, network->getAllSubnets()->size());
Subnet4Ptr subnet_returned = *network->getAllSubnets()->begin();
ASSERT_TRUE(subnet_returned);
EXPECT_EQ(subnet2->getID(), subnet_returned->getID());
// Check that shared network has been cleared for the removed subnet.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment