1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-25 13:41:56 +03:00
This commit is contained in:
Niels
2016-08-14 17:23:15 +02:00
parent b76f5506d7
commit 01386b3977
3 changed files with 127 additions and 109 deletions

View File

@ -784,7 +784,7 @@ TEST_CASE("parser class")
SECTION("from std::valarray")
{
std::valarray<uint8_t> v = {'t', 'r', 'u', 'e'};
std::valarray<uint8_t> v = {'t', 'r', 'u', 'e', '\0'};
CHECK (json::parser(std::begin(v), std::end(v)).parse() == json(true));
}
}