]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[3927] Fixed typo in previous change
authorFrancis Dupont <fdupont@isc.org>
Wed, 4 Nov 2015 04:02:40 +0000 (05:02 +0100)
committerFrancis Dupont <fdupont@isc.org>
Wed, 4 Nov 2015 04:02:40 +0000 (05:02 +0100)
src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc

index 59419df691d3782ded08a5c9ae134d2065464feb..4840e6d3391560953ff11cf9dddf79415ca673b0 100644 (file)
@@ -547,7 +547,7 @@ TEST_F(ParseConfigTest, defaultSpaceOptionDefTest) {
 
     // Verify that the configuration string parses.
     int rcode = parseConfiguration(config);
-    ASSERT_TRUE(0, rcode);
+    ASSERT_EQ(0, rcode);
 
 
     // Verify that the option definition can be retrieved.
@@ -590,7 +590,7 @@ TEST_F(ParseConfigTest, basicOptionDataTest) {
 
     // Verify that the configuration string parses.
     int rcode = parseConfiguration(config);
-    ASSERT_TRUE(0, rcode);
+    ASSERT_EQ(0, rcode);
 
     // Verify that the option can be retrieved.
     OptionPtr opt_ptr = getOptionPtr("isc", 100);
@@ -624,7 +624,7 @@ TEST_F(ParseConfigTest, minimalOptionDataTest) {
 
     // Verify that the configuration string parses.
     int rcode = parseConfiguration(config);
-    ASSERT_TRUE(0, rcode);
+    ASSERT_EQ(0, rcode);
 
     // Verify that the option can be retrieved.
     OptionPtr opt_ptr = getOptionPtr("isc", 100);