1
0
mirror of https://github.com/nlohmann/json.git synced 2025-07-28 12:02:00 +03:00

valgrind still makes problems

This commit is contained in:
Niels
2015-05-06 21:32:41 +02:00
parent b67b13c29e
commit 9f9d293bad
5 changed files with 6 additions and 2 deletions

View File

@ -8456,13 +8456,11 @@ TEST_CASE("regression tests")
SECTION("NAN value")
{
CHECK(json(NAN) == json());
CHECK(json(static_cast<long double>(NAN)) == json());
}
SECTION("infinity")
{
CHECK(json(INFINITY) == json());
CHECK(json(static_cast<long double>(INFINITY)) == json());
}
}
}