]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5-netconf-config] Final fixes
authorFrancis Dupont <fdupont@isc.org>
Fri, 28 Sep 2018 11:31:51 +0000 (13:31 +0200)
committerFrancis Dupont <fdupont@isc.org>
Fri, 28 Sep 2018 13:20:46 +0000 (09:20 -0400)
src/bin/netconf/tests/parser_unittests.cc

index 450d6f29938e20f3fbcf2e648303c8338df3d716..7c50ea1c6f492a6465bb5f36d6683f64e8ae120c 100644 (file)
@@ -551,11 +551,12 @@ TEST(ParserTest, errors) {
               "expecting :");
     testError("{ \"foo\" }\n",
               ParserContext::PARSER_NETCONF,
-              "<string>:1.9: syntax error, unexpected }, expecting :");
+              "<string>:1.3-7: syntax error, unexpected constant string, "
+              "expecting Netconf or Logging");
     testError("{ \"foo\":null }\n",
               ParserContext::PARSER_NETCONF,
-              "<string>:1.3-7: got unexpected keyword "
-              "\"foo\" in toplevel map.");
+              "<string>:1.3-7: syntax error, unexpected constant string, "
+              "expecting Netconf or Logging");
     testError("{ \"Netconf\" }\n",
               ParserContext::PARSER_NETCONF,
               "<string>:1.13: syntax error, unexpected }, "