✅ improve test coverage
This commit is contained in:
parent
b7ff40029a
commit
79347b484b
1 changed files with 3 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue