mirror of
https://github.com/nlohmann/json.git
synced 2026-03-08 10:11:25 +00:00
Fixed suffixing .0 and modified the unit tests accordingly
This commit is contained in:
@@ -394,9 +394,9 @@ TEST_CASE("regression tests")
|
||||
//issue #230
|
||||
//CHECK(j2b.dump() == "23.42");
|
||||
|
||||
CHECK(j3a.dump() == "10000");
|
||||
CHECK(j3b.dump() == "10000");
|
||||
CHECK(j3c.dump() == "10000");
|
||||
CHECK(j3a.dump() == "10000.0");
|
||||
CHECK(j3b.dump() == "10000.0");
|
||||
CHECK(j3c.dump() == "10000.0");
|
||||
//CHECK(j3b.dump() == "1E04"); // roundtrip error
|
||||
//CHECK(j3c.dump() == "1e04"); // roundtrip error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user