From bc6502b3cafa5e2fb5eee12ca5b9286c52003491 Mon Sep 17 00:00:00 2001 From: Tomek Mrugalski Date: Mon, 19 Dec 2016 19:04:07 +0100 Subject: [PATCH] [5017] Fixed one unit-test. --- src/bin/dhcp4/tests/parser_unittest.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/bin/dhcp4/tests/parser_unittest.cc b/src/bin/dhcp4/tests/parser_unittest.cc index 807552a13c..d594716744 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-13: JSON true reserved keyword is lower case only"); + ":1.10: Invalid character: T"); testError("{ \"foo\": False }", Parser4Context::PARSER_JSON, - ":1.10-14: JSON false reserved keyword is lower case only"); + ":1.10: Invalid character: F"); testError("{ \"foo\": NULL }", Parser4Context::PARSER_JSON, - ":1.10-13: JSON null reserved keyword is lower case only"); + ":1.10: Invalid character: N"); testError("{ \"foo\": Tru }", Parser4Context::PARSER_JSON, ":1.10: Invalid character: T"); -- 2.47.3