Commit d8ccdaae authored by Francis Dupont's avatar Francis Dupont
Browse files

[5076] spelling

parent 03d24189
...@@ -94,7 +94,7 @@ public: ...@@ -94,7 +94,7 @@ public:
/// for supported syntax checkers. /// for supported syntax checkers.
/// ///
/// @param str string to be parsed /// @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. /// @return Element structure representing parsed text.
isc::data::ElementPtr parseString(const std::string& str, isc::data::ElementPtr parseString(const std::string& str,
ParserType parser_type); ParserType parser_type);
...@@ -152,7 +152,7 @@ public: ...@@ -152,7 +152,7 @@ public:
///< This one is used in pure JSON mode. ///< This one is used in pure JSON mode.
NO_KEYWORDS, NO_KEYWORDS,
///< Used while parsing content of Dhcp6. ///< Used while parsing content of Agent.
KEYWORDS KEYWORDS
} LexerContext; } LexerContext;
......
...@@ -88,7 +88,7 @@ TEST(ParserTest, nestedLists) { ...@@ -88,7 +88,7 @@ TEST(ParserTest, nestedLists) {
} }
TEST(ParserTest, listsInMaps) { TEST(ParserTest, listsInMaps) {
string txt = "{ \"constellations\": { \"orion\": [ \"rigel\", \"betelguese\" ], " string txt = "{ \"constellations\": { \"orion\": [ \"rigel\", \"betelgeuse\" ], "
"\"cygnus\": [ \"deneb\", \"albireo\"] } }"; "\"cygnus\": [ \"deneb\", \"albireo\"] } }";
testParser(txt, ParserContext::PARSER_JSON); testParser(txt, ParserContext::PARSER_JSON);
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment