improved coverage

This commit is contained in:
Niels Lohmann 2017-06-20 22:35:31 +02:00
parent 9add24ff10
commit 84f2e64a7c
No known key found for this signature in database
GPG key ID: 7F3CEA63AE251B69

View file

@ -362,7 +362,7 @@ TEST_CASE("deserialization")
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(not json::accept(std::begin(v), std::end(v)));
}