From 46408c1e09547ce659849aab888c8718d2b96657 Mon Sep 17 00:00:00 2001 From: Francis Dupont Date: Fri, 28 Sep 2018 13:31:51 +0200 Subject: [PATCH] [5-netconf-config] Final fixes --- src/bin/netconf/tests/parser_unittests.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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 }, " -- 2.47.2