mirror of
https://github.com/nlohmann/json.git
synced 2025-07-28 12:02:00 +03:00
fix for MSVC
This commit is contained in:
@ -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));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user