🎨 replace alternative operators (and, not, or)

This commit is contained in:
Niels Lohmann
2020-06-03 21:22:07 +02:00
parent 0498202a03
commit 65c4b07451
23 changed files with 352 additions and 352 deletions

View File

@@ -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");