improved coverage

parent 9add24ff
...@@ -362,7 +362,7 @@ TEST_CASE("deserialization") ...@@ -362,7 +362,7 @@ TEST_CASE("deserialization")
SECTION("case 16") SECTION("case 16")
{ {
uint8_t v[] = {'{', '1', ',', ','}; uint8_t v[] = {'{', '\"', '\"', ':', '1', '1'};
CHECK_THROWS_AS(json::parse(std::begin(v), std::end(v)), json::parse_error); CHECK_THROWS_AS(json::parse(std::begin(v), std::end(v)), json::parse_error);
CHECK(not json::accept(std::begin(v), std::end(v))); CHECK(not json::accept(std::begin(v), std::end(v)));
} }
......
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