🔨 removed nonportable code

parent ac793e95
...@@ -734,13 +734,11 @@ TEST_CASE("regression tests") ...@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment