]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2429] fixed a minor typo in test code
authorJINMEI Tatuya <jinmei@isc.org>
Tue, 18 Dec 2012 02:55:13 +0000 (18:55 -0800)
committerJINMEI Tatuya <jinmei@isc.org>
Tue, 18 Dec 2012 02:55:13 +0000 (18:55 -0800)
src/lib/dns/tests/rrttl_unittest.cc

index 61d482a06b9fd69aa44d6170397cdf42ad91be26..240bbc924454faf3d9b1a5aaafac1f961b5d6f8a 100644 (file)
@@ -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().