mirror of
https://github.com/nlohmann/json
synced 2024-11-23 20:40:08 +00:00
🔨 fixed compilation
This commit is contained in:
parent
9a576fe1d9
commit
52adf3fd5b
@ -734,13 +734,13 @@ TEST_CASE("regression tests")
|
||||
if (i == 0)
|
||||
{
|
||||
CHECK(val == json({{"one", 1}, {"two", 2}}));
|
||||
CHECK(stream.tellg() == 28);
|
||||
CHECK(static_cast<int>(stream.tellg()) == 28);
|
||||
}
|
||||
|
||||
if (i == 1)
|
||||
{
|
||||
CHECK(val == json({{"three", 3}}));
|
||||
CHECK(stream.tellg() == 44);
|
||||
CHECK(static_cast<int>(stream.tellg()) == 44);
|
||||
}
|
||||
|
||||
++i;
|
||||
|
Loading…
Reference in New Issue
Block a user