mirror of
https://github.com/nlohmann/json.git
synced 2026-10-11 00:47:12 +00:00
Fixed suffixing .0 and modified the unit tests accordingly
This commit is contained in:
1 parent
21cae35930
commit
2197856395
3 files changed
+9
-7
No files matched your search
@@ -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