mirror of
https://github.com/nlohmann/json
synced 2024-11-10 06:20:06 +00:00
overflows are handled wrong by Valgrind
This commit is contained in:
parent
a8e92a6bfb
commit
2cfc93fc76
@ -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());
|
||||
|
Loading…
Reference in New Issue
Block a user