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

[5076] spelling

parent 03d24189
......@@ -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;
......
......@@ -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);
}
......
Markdown is supported
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