Parcourir la source

[2429] fixed a minor typo in test code

JINMEI Tatuya il y a 12 ans
Parent
commit
862d60332f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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().