mirror of
https://github.com/nlohmann/json.git
synced 2025-07-10 22:00:59 +03:00
🚧 fixed more warnings
This commit is contained in:
@ -725,7 +725,7 @@ TEST_CASE("constructors")
|
||||
|
||||
SECTION("long double")
|
||||
{
|
||||
long double n = 42.23;
|
||||
long double n = 42.23l;
|
||||
json j(n);
|
||||
CHECK(j.type() == json::value_t::number_float);
|
||||
CHECK(j.m_value.number_float == Approx(j_reference.m_value.number_float));
|
||||
|
Reference in New Issue
Block a user