mirror of
https://github.com/nlohmann/json.git
synced 2026-02-25 12:56:26 +00:00
✅ improve test coverage
This commit is contained in:
@@ -261,6 +261,9 @@ TEST_CASE("object inspection")
|
||||
// important test, because it yields a resize of the indent_string
|
||||
// inside the dump() function
|
||||
CHECK(j.dump(1024).size() == 15472);
|
||||
|
||||
const auto binary = json::binary_array({1, 2, 3}, 128);
|
||||
CHECK(binary.dump(1024).size() == 2086);
|
||||
}
|
||||
|
||||
SECTION("dump and floating-point numbers")
|
||||
|
||||
Reference in New Issue
Block a user