]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5076] spelling
authorFrancis Dupont <fdupont@isc.org>
Wed, 8 Feb 2017 15:34:13 +0000 (16:34 +0100)
committerFrancis Dupont <fdupont@isc.org>
Wed, 8 Feb 2017 15:34:13 +0000 (16:34 +0100)
src/bin/agent/parser_context.h
src/bin/agent/tests/parser_unittests.cc

index 2ce07693dc1286613390d5cdb2de496c315bc4a0..6ba7839dcdc82b49fdf8508864813400497a37d4 100644 (file)
@@ -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;
 
index 29ab6c3c08f48e42546ce540c6dbd15e6c7ff9f2..e52bd356928df8c4b8ce90280a2a6b44fa68cc26 100644 (file)
@@ -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);
 }