Browse Source

[1397] Change EXPECT_EQ to ASSERT_EQ

Mukund Sivaraman 11 years ago
parent
commit
7417af2406
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dns/tests/rrset_unittest.cc

+ 1 - 1
src/lib/dns/tests/rrset_unittest.cc

@@ -130,7 +130,7 @@ TEST_F(RRsetTest, isSameKind) {
 
 void
 addRdataTestCommon(const RRset& rrset) {
-    EXPECT_EQ(2, rrset.getRdataCount());
+    ASSERT_EQ(2, rrset.getRdataCount());
 
     RdataIteratorPtr it = rrset.getRdataIterator(); // cursor is set to the 1st
     EXPECT_FALSE(it->isLast());