fix for MSVC
This commit is contained in:
parent
c9e5d56c9c
commit
7b42c973bd
1 changed files with 1 additions and 1 deletions
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue