mirror of
https://github.com/nlohmann/json.git
synced 2026-02-25 04:46:26 +00:00
🎨 replace alternative operators (and, not, or)
This commit is contained in:
@@ -847,7 +847,7 @@ TEST_CASE("constructors")
|
||||
|
||||
// check round trip of NaN
|
||||
json::number_float_t d = j;
|
||||
CHECK((std::isnan(d) and std::isnan(n)) == true);
|
||||
CHECK((std::isnan(d) && std::isnan(n)) == true);
|
||||
|
||||
// check that NaN is serialized to null
|
||||
CHECK(j.dump() == "null");
|
||||
|
||||
Reference in New Issue
Block a user