]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#3732] Fix ConfigReportTest.getConfigReport
authorAndrei Pavel <andrei@isc.org>
Fri, 4 Apr 2025 10:40:23 +0000 (13:40 +0300)
committerAndrei Pavel <andrei@isc.org>
Fri, 4 Apr 2025 10:40:23 +0000 (13:40 +0300)
src/lib/process/cfgrpt/tests/config_report_unittests.cc

index cc756ce6f0f1211a79fdc641b23731fa9bdf052c..6cfc8ae86813ed77203b13a6ad8d51e29f8f56ac 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2015-2024 Internet Systems Consortium, Inc. ("ISC")
+// Copyright (C) 2015-2025 Internet Systems Consortium, Inc. ("ISC")
 //
 // This Source Code Form is subject to the terms of the Mozilla Public
 // License, v. 2.0. If a copy of the MPL was not distributed with this
@@ -18,7 +18,6 @@ using namespace std;
 // This test verifies that the getConfigReport() function
 // returns the actual config report.
 TEST(ConfigReportTest, getConfigReport) {
-
     // Fetch the report string
     std::string cfgReport = isc::detail::getConfigReport();
 
@@ -27,6 +26,6 @@ TEST(ConfigReportTest, getConfigReport) {
     ASSERT_FALSE(cfgReport.empty());
     EXPECT_NE(std::string::npos, cfgReport.find(VERSION));
     EXPECT_NE(std::string::npos, cfgReport.find(EXTENDED_VERSION));
-    EXPECT_NE(std::string::npos, cfgReport.find(std::string("Hooks directory:   ") +
+    EXPECT_NE(std::string::npos, cfgReport.find(std::string("Hooks directory:    ") +
                                                 HooksLibrariesParser::default_hooks_path_));
 }