mirror of
https://github.com/nlohmann/json.git
synced 2024-07-16 03:15:44 +02:00
🔨 removed nonportable code
This commit is contained in:
parent
ac793e957f
commit
afb959a083
|
@ -734,13 +734,11 @@ 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(static_cast<int>(stream.tellg()) == 28);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (i == 1)
|
if (i == 1)
|
||||||
{
|
{
|
||||||
CHECK(val == json({{"three", 3}}));
|
CHECK(val == json({{"three", 3}}));
|
||||||
CHECK(static_cast<int>(stream.tellg()) == 44);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
++i;
|
++i;
|
||||||
|
|
Loading…
Reference in a new issue