Commit 00482386 authored by Mukund Sivaraman's avatar Mukund Sivaraman

[2432] Use ASSERT_TRUE to not crash test suite in some places

parent 1fa69473
......@@ -47,12 +47,12 @@ TEST_F(RRsetCollectionTest, istreamConstructor) {
RRsetCollectionBase::Iterator iter = collection.begin();
RRsetCollectionBase::Iterator iter2 = collection2.begin();
while (iter != collection.end()) {
EXPECT_TRUE(iter2 != collection2.end());
ASSERT_TRUE(iter2 != collection2.end());
EXPECT_EQ((*iter).toText(), (*iter2).toText());
++iter;
++iter2;
}
EXPECT_TRUE(iter2 == collection2.end());
ASSERT_TRUE(iter2 == collection2.end());
}
template <typename T, typename TP>
......
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