Browse Source

[2429] fixed a minor typo in test code

JINMEI Tatuya 12 years ago
parent
commit
862d60332f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dns/tests/rrttl_unittest.cc

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

@@ -274,7 +274,7 @@ TEST_F(RRTTLTest, gthan) {
 }
 
 TEST_F(RRTTLTest, maxTTL) {
-    EXPECT_EQ((1 << 31) - 1, RRTTL::MAX()::getValue());
+    EXPECT_EQ((1 << 31) - 1, RRTTL::MAX().getValue());
 }
 
 // test operator<<.  We simply confirm it appends the result of toText().