From d8ccdaaec9be23e5095d660dd0a8093e0ff0e02d Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Wed, 8 Feb 2017 16:34:13 +0100 Subject: [PATCH] [5076] spelling --- src/bin/agent/parser_context.h | 4 ++-- src/bin/agent/tests/parser_unittests.cc | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/agent/parser_context.h b/src/bin/agent/parser_context.h index 2ce07693dc..6ba7839dcd 100644 --- a/src/bin/agent/parser_context.h +++ b/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; diff --git a/src/bin/agent/tests/parser_unittests.cc b/src/bin/agent/tests/parser_unittests.cc index 29ab6c3c08..e52bd35692 100644 --- a/src/bin/agent/tests/parser_unittests.cc +++ b/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); } -- 2.47.3