From: Tomek Mrugalski Date: Tue, 20 Dec 2016 13:27:47 +0000 (+0100) Subject: [5017] Revert "[5017] Fixed one unit-test." X-Git-Tag: trac5088_base~1^2~9 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4038483659a7679ca8688ce942c839c3ad4eec9b;p=thirdparty%2Fkea.git [5017] Revert "[5017] Fixed one unit-test." This reverts commit bc6502b3cafa5e2fb5eee12ca5b9286c52003491. --- diff --git a/src/bin/dhcp4/tests/parser_unittest.cc b/src/bin/dhcp4/tests/parser_unittest.cc index ea31cd0fab..60204afa82 100644 --- a/src/bin/dhcp4/tests/parser_unittest.cc +++ b/src/bin/dhcp4/tests/parser_unittest.cc @@ -326,13 +326,13 @@ TEST(ParserTest, errors) { // JSON keywords testError("{ \"foo\": True }", Parser4Context::PARSER_JSON, - ":1.10: Invalid character: T"); + ":1.10-13: JSON true reserved keyword is lower case only"); testError("{ \"foo\": False }", Parser4Context::PARSER_JSON, - ":1.10: Invalid character: F"); + ":1.10-14: JSON false reserved keyword is lower case only"); testError("{ \"foo\": NULL }", Parser4Context::PARSER_JSON, - ":1.10: Invalid character: N"); + ":1.10-13: JSON null reserved keyword is lower case only"); testError("{ \"foo\": Tru }", Parser4Context::PARSER_JSON, ":1.10: Invalid character: T");