From: Francis Dupont Date: Fri, 28 Sep 2018 11:31:51 +0000 (+0200) Subject: [5-netconf-config] Final fixes X-Git-Tag: 5-netconf-doc-config_base~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46408c1e09547ce659849aab888c8718d2b96657;p=thirdparty%2Fkea.git [5-netconf-config] Final fixes --- diff --git a/src/bin/netconf/tests/parser_unittests.cc b/src/bin/netconf/tests/parser_unittests.cc index 450d6f2993..7c50ea1c6f 100644 --- a/src/bin/netconf/tests/parser_unittests.cc +++ b/src/bin/netconf/tests/parser_unittests.cc @@ -551,11 +551,12 @@ TEST(ParserTest, errors) { "expecting :"); testError("{ \"foo\" }\n", ParserContext::PARSER_NETCONF, - ":1.9: syntax error, unexpected }, expecting :"); + ":1.3-7: syntax error, unexpected constant string, " + "expecting Netconf or Logging"); testError("{ \"foo\":null }\n", ParserContext::PARSER_NETCONF, - ":1.3-7: got unexpected keyword " - "\"foo\" in toplevel map."); + ":1.3-7: syntax error, unexpected constant string, " + "expecting Netconf or Logging"); testError("{ \"Netconf\" }\n", ParserContext::PARSER_NETCONF, ":1.13: syntax error, unexpected }, "