]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5017] Fixed one unit-test.
authorTomek Mrugalski <tomasz@isc.org>
Mon, 19 Dec 2016 18:04:07 +0000 (19:04 +0100)
committerTomek Mrugalski <tomasz@isc.org>
Mon, 19 Dec 2016 18:04:07 +0000 (19:04 +0100)
src/bin/dhcp4/tests/parser_unittest.cc

index 807552a13c042365ca47aeb9b2ad293ee760e1c5..d594716744394608a4548d34468493218361ed32 100644 (file)
@@ -326,13 +326,13 @@ TEST(ParserTest, errors) {
     // JSON keywords
     testError("{ \"foo\": True }",
               Parser4Context::PARSER_JSON,
-              "<string>:1.10-13: JSON true reserved keyword is lower case only");
+              "<string>:1.10: Invalid character: T");
     testError("{ \"foo\": False }",
               Parser4Context::PARSER_JSON,
-              "<string>:1.10-14: JSON false reserved keyword is lower case only");
+              "<string>:1.10: Invalid character: F");
     testError("{ \"foo\": NULL }",
               Parser4Context::PARSER_JSON,
-              "<string>:1.10-13: JSON null reserved keyword is lower case only");
+              "<string>:1.10: Invalid character: N");
     testError("{ \"foo\": Tru }",
               Parser4Context::PARSER_JSON,
               "<string>:1.10: Invalid character: T");