Browse Source

[3927] Fixed typo in previous change

Francis Dupont 9 years ago
parent
commit
82912d2faf
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc

+ 3 - 3
src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc

@@ -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);