From: Francis Dupont Date: Wed, 4 Nov 2015 04:02:40 +0000 (+0100) Subject: [3927] Fixed typo in previous change X-Git-Tag: trac4115_base~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82912d2fafaafaaf3f7c63a742bae6414120fad7;p=thirdparty%2Fkea.git [3927] Fixed typo in previous change --- diff --git a/src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc b/src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc index 59419df691..4840e6d339 100644 --- a/src/lib/dhcpsrv/tests/dhcp_parsers_unittest.cc +++ b/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);