Browse Source

spelling: underscore

Josh Soref 7 years ago
parent
commit
64f34cc928
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/lib/dhcp/tests/option_definition_unittest.cc

+ 1 - 1
src/lib/dhcp/tests/option_definition_unittest.cc

@@ -291,7 +291,7 @@ TEST_F(OptionDefinitionTest, validate) {
     OptionDefinition opt_def9("option-clientid", D6O_CLIENTID, "string");
     OptionDefinition opt_def9("option-clientid", D6O_CLIENTID, "string");
     EXPECT_NO_THROW(opt_def9.validate());
     EXPECT_NO_THROW(opt_def9.validate());
 
 
-    // Using hyphen or undescore at the beginning or at the end
+    // Using hyphen or underscore at the beginning or at the end
     // of the option name is not allowed.
     // of the option name is not allowed.
     OptionDefinition opt_def10("-option-clientid", D6O_CLIENTID, "string");
     OptionDefinition opt_def10("-option-clientid", D6O_CLIENTID, "string");
     EXPECT_THROW(opt_def10.validate(), MalformedOptionDefinition);
     EXPECT_THROW(opt_def10.validate(), MalformedOptionDefinition);