Commit 6e331c4d authored by JINMEI Tatuya's avatar JINMEI Tatuya
Browse files

preferred EXPECT_EQ(a,b) to EXPECT_TRUE(a==b) because on failure we can see

the vlaues of a and b


git-svn-id: svn://bind10.isc.org/svn/bind10/trunk@1006 e5f2f494-b856-4b98-b285-d166d9295462
parent 688bab2a
......@@ -107,19 +107,19 @@ TEST_F(RRsetListTest, randomAccess) {
RRsetPtr p;
p = list[RRType::CNAME()];
EXPECT_TRUE(p->getType() == RRType::CNAME());
EXPECT_EQ(p->getType(), RRType::CNAME());
p = list[RRType::AAAA()];
EXPECT_TRUE(p->getType() == RRType::AAAA());
EXPECT_EQ(p->getType(), RRType::AAAA());
p = list[RRType::NS()];
EXPECT_TRUE(p->getType() == RRType::NS());
EXPECT_EQ(p->getType(), RRType::NS());
p = list[RRType::A()];
EXPECT_TRUE(p->getType() == RRType::A());
EXPECT_EQ(p->getType(), RRType::A());
p = list[RRType::SOA()];
EXPECT_TRUE(p->getType() == RRType::SOA());
EXPECT_EQ(p->getType(), RRType::SOA());
}
TEST_F(RRsetListTest, findRRset) {
......
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