mirror of
https://github.com/nlohmann/json.git
synced 2025-07-28 12:02:00 +03:00
🔨 fixed compilation
This commit is contained in:
@ -734,13 +734,13 @@ TEST_CASE("regression tests")
|
|||||||
if (i == 0)
|
if (i == 0)
|
||||||
{
|
{
|
||||||
CHECK(val == json({{"one", 1}, {"two", 2}}));
|
CHECK(val == json({{"one", 1}, {"two", 2}}));
|
||||||
CHECK(stream.tellg() == 28);
|
CHECK(static_cast<int>(stream.tellg()) == 28);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i == 1)
|
if (i == 1)
|
||||||
{
|
{
|
||||||
CHECK(val == json({{"three", 3}}));
|
CHECK(val == json({{"three", 3}}));
|
||||||
CHECK(stream.tellg() == 44);
|
CHECK(static_cast<int>(stream.tellg()) == 44);
|
||||||
}
|
}
|
||||||
|
|
||||||
++i;
|
++i;
|
||||||
|
Reference in New Issue
Block a user