Parcourir la source

[5017] Revert "[5017] Fixed one unit-test."

This reverts commit bc6502b3cafa5e2fb5eee12ca5b9286c52003491.
Tomek Mrugalski il y a 8 ans
Parent
commit
4038483659
1 fichiers modifiés avec 3 ajouts et 3 suppressions
  1. 3 3
      src/bin/dhcp4/tests/parser_unittest.cc

+ 3 - 3
src/bin/dhcp4/tests/parser_unittest.cc

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