Commit c9e5d56c authored by Niels's avatar Niels

fix for MSVC

parent 01386b39
...@@ -749,7 +749,7 @@ TEST_CASE("parser class") ...@@ -749,7 +749,7 @@ TEST_CASE("parser class")
{ {
SECTION("from std::vector") SECTION("from std::vector")
{ {
std::vector<uint8_t> v = {'t', 'r', 'u', 'e'}; std::vector<uint8_t> 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