mirror of
https://github.com/nlohmann/json.git
synced 2025-07-25 13:41:56 +03:00
fixed unit tests
This commit is contained in:
@ -96,7 +96,7 @@ TEST_CASE("deserialization")
|
||||
|
||||
SECTION("from array")
|
||||
{
|
||||
uint8_t v[] = {'t', 'r', 'u', 'e'};
|
||||
uint8_t v[] = {'t', 'r', 'u', 'e', '\0'};
|
||||
CHECK(json::parse(std::begin(v), std::end(v)) == json(true));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user