Commit 7b42c973 authored by Niels's avatar Niels

fix for MSVC

parent c9e5d56c
...@@ -755,7 +755,7 @@ TEST_CASE("parser class") ...@@ -755,7 +755,7 @@ TEST_CASE("parser class")
SECTION("from std::array") SECTION("from std::array")
{ {
std::array<uint8_t, 4> v { {'t', 'r', 'u', 'e'} }; std::array<uint8_t, 5> v { {'t', 'r', 'u', 'e', '\0'} };
CHECK (json::parser(std::begin(v), std::end(v)).parse() == json(true)); CHECK (json::parser(std::begin(v), std::end(v)).parse() == json(true));
} }
......
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