Parcourir la source

[2957] Minor modifications during review.

Stephen Morris il y a 11 ans
Parent
commit
5e61d601d9
2 fichiers modifiés avec 4 ajouts et 2 suppressions
  1. 3 1
      src/bin/d2/d2_messages.mes
  2. 1 1
      src/bin/d2/tests/d_cfg_mgr_unittests.cc

+ 3 - 1
src/bin/d2/d2_messages.mes

@@ -74,7 +74,9 @@ element ids not specified the configuration manager's parse order list. This
 is a programmatic error.
 
 % DCTL_ORDER_NO_ELEMENT element: %1 is in the parsing order but is missing from the configuration
-An error message output during a configuration update.  The program is expecting an item but has not found it in the new configuration.  This may mean that the BIND 10 configuration database is corrupt.
+An error message output during a configuration update.  The program is
+expecting an item but has not found it in the new configuration.  This may
+mean that the BIND 10 configuration database is corrupt.
 
 % DCTL_PARSER_FAIL configuration parsing failed for configuration element: %1
 On receipt of message containing details to a change of its configuration,

+ 1 - 1
src/bin/d2/tests/d_cfg_mgr_unittests.cc

@@ -291,7 +291,7 @@ TEST_F(DStubCfgMgrTest, simpleTypesTest) {
     // its value from the context.
     actual_bool = true;
     EXPECT_NO_THROW(context->getParam("bool_test", actual_bool));
-    EXPECT_EQ(false, actual_bool);
+    EXPECT_FALSE(actual_bool);
 
     // Verify that the uint32 parameter was updated correctly by retrieving
     // its value from the context.