From 84f2e64a7c3edcb27465c3baa834069e6cd800e1 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Tue, 20 Jun 2017 22:35:31 +0200 Subject: [PATCH] :white_check_mark: improved coverage --- test/src/unit-deserialization.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/src/unit-deserialization.cpp b/test/src/unit-deserialization.cpp index 81ee2770..48ec91c0 100644 --- a/test/src/unit-deserialization.cpp +++ b/test/src/unit-deserialization.cpp @@ -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))); }