Browse Source

[5076] spelling

Francis Dupont 8 years ago
parent
commit
d8ccdaaec9
2 changed files with 3 additions and 3 deletions
  1. 2 2
      src/bin/agent/parser_context.h
  2. 1 1
      src/bin/agent/tests/parser_unittests.cc

+ 2 - 2
src/bin/agent/parser_context.h

@@ -94,7 +94,7 @@ public:
     /// for supported syntax checkers.
     ///
     /// @param str string to be parsed
-    /// @param parser_type specifies expected content (usually DHCP6 or generic JSON)
+    /// @param parser_type specifies expected content (usually AGENT or generic JSON)
     /// @return Element structure representing parsed text.
     isc::data::ElementPtr parseString(const std::string& str,
                                       ParserType parser_type);
@@ -152,7 +152,7 @@ public:
         ///< This one is used in pure JSON mode.
         NO_KEYWORDS,
 
-        ///< Used while parsing content of Dhcp6.
+        ///< Used while parsing content of Agent.
         KEYWORDS
     } LexerContext;
 

+ 1 - 1
src/bin/agent/tests/parser_unittests.cc

@@ -88,7 +88,7 @@ TEST(ParserTest, nestedLists) {
 }
 
 TEST(ParserTest, listsInMaps) {
-    string txt = "{ \"constellations\": { \"orion\": [ \"rigel\", \"betelguese\" ], "
+    string txt = "{ \"constellations\": { \"orion\": [ \"rigel\", \"betelgeuse\" ], "
                     "\"cygnus\": [ \"deneb\", \"albireo\"] } }";
     testParser(txt, ParserContext::PARSER_JSON);
 }