mirror of
https://github.com/nlohmann/json.git
synced 2026-03-04 08:16:27 +00:00
@@ -843,7 +843,7 @@ TEST_CASE("regression tests")
|
||||
{
|
||||
json j = json::parse("166020696663385964490");
|
||||
CHECK(j.is_number_float());
|
||||
CHECK(j.get<json::number_float_t>() == static_cast<json::number_float_t>(166020696663385964490.0));
|
||||
CHECK(j.get<json::number_float_t>() == 166020696663385964490.0);
|
||||
}
|
||||
|
||||
SECTION("issue #405 - Heap-buffer-overflow (OSS-Fuzz issue 342)")
|
||||
|
||||
Reference in New Issue
Block a user