Commit bc6502b3 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰
Browse files

[5017] Fixed one unit-test.

parent cb935c82
...@@ -326,13 +326,13 @@ TEST(ParserTest, errors) { ...@@ -326,13 +326,13 @@ TEST(ParserTest, errors) {
// JSON keywords // JSON keywords
testError("{ \"foo\": True }", testError("{ \"foo\": True }",
Parser4Context::PARSER_JSON, Parser4Context::PARSER_JSON,
"<string>:1.10-13: JSON true reserved keyword is lower case only"); "<string>:1.10: Invalid character: T");
testError("{ \"foo\": False }", testError("{ \"foo\": False }",
Parser4Context::PARSER_JSON, Parser4Context::PARSER_JSON,
"<string>:1.10-14: JSON false reserved keyword is lower case only"); "<string>:1.10: Invalid character: F");
testError("{ \"foo\": NULL }", testError("{ \"foo\": NULL }",
Parser4Context::PARSER_JSON, Parser4Context::PARSER_JSON,
"<string>:1.10-13: JSON null reserved keyword is lower case only"); "<string>:1.10: Invalid character: N");
testError("{ \"foo\": Tru }", testError("{ \"foo\": Tru }",
Parser4Context::PARSER_JSON, Parser4Context::PARSER_JSON,
"<string>:1.10: Invalid character: T"); "<string>:1.10: Invalid character: T");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment