mirror of
https://github.com/nlohmann/json.git
synced 2026-10-14 10:17:12 +00:00
overflows are handled wrong by Valgrind
This commit is contained in:
1 parent
a8e92a6bfb
commit
2cfc93fc76
1 file changed
-8
@@ -8458,14 +8458,6 @@ TEST_CASE("regression tests")
|
||||
CHECK(json(NAN) == json());
|
||||
}
|
||||
|
||||
SECTION("overflows")
|
||||
{
|
||||
CHECK(json(std::exp(800)) == json());
|
||||
CHECK(json(HUGE_VALF) == json());
|
||||
CHECK(json(HUGE_VAL) == json());
|
||||
CHECK(json(HUGE_VALL) == json());
|
||||
}
|
||||
|
||||
SECTION("infinity")
|
||||
{
|
||||
CHECK(json(INFINITY) == json());
|
||||
|
||||
Reference in new issue
Block a user