From: Thomas Markwalder Date: Mon, 12 May 2025 19:41:32 +0000 (-0400) Subject: [#3831] Nits X-Git-Tag: Kea-2.7.9~47 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=32455601401958573fd3e3e93dbe98af149ada03;p=thirdparty%2Fkea.git [#3831] Nits --- diff --git a/src/bin/dhcp6/tests/config_parser_unittest.cc b/src/bin/dhcp6/tests/config_parser_unittest.cc index ab7e949dba..41518a612d 100644 --- a/src/bin/dhcp6/tests/config_parser_unittest.cc +++ b/src/bin/dhcp6/tests/config_parser_unittest.cc @@ -6461,7 +6461,7 @@ TEST_F(Dhcp6ParserTest, invalidDataDir) { string text; ASSERT_NO_THROW(text = comment->stringValue()); std::ostringstream os; - os << "'data-directory' of '/dev/null' is invalid, supported path is '" + os << "'data-directory' of '/dev/null' is invalid, supported path is '" << CfgMgr::instance().getDataDir() << "'"; EXPECT_EQ(os.str(), text); diff --git a/src/bin/dhcp6/tests/hooks_unittest.cc b/src/bin/dhcp6/tests/hooks_unittest.cc index f19a3b90bc..ba38c439bb 100644 --- a/src/bin/dhcp6/tests/hooks_unittest.cc +++ b/src/bin/dhcp6/tests/hooks_unittest.cc @@ -5729,8 +5729,6 @@ TEST_F(LoadUnloadDhcpv6SrvTest, Dhcpv6SrvConfigured) { EXPECT_TRUE(checkMarkerFile(UNLOAD_MARKER_FILE, "3")); EXPECT_TRUE(checkMarkerFile(SRV_CONFIG_MARKER_FILE, "3io_contextjson_confignetwork_stateserver_config")); - - break; } }