1
0
mirror of https://github.com/nlohmann/json.git synced 2026-07-31 08:03:03 +04:00

🚨 fix compilation

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
Niels Lohmann
2026-05-21 08:31:03 +02:00
parent 61f0d683e0
commit 3249b180cc
3 changed files with 8 additions and 8 deletions
+2 -2
View File
@@ -249,7 +249,7 @@ TEST_CASE("object inspection")
{
SECTION("array")
{
const auto j_array = "[[[[[[]]]]]]"_json;
const auto j_array = json::parse("[[[[[[]]]]]]");
// check right size after indentation triggering a resize
CHECK(j_array.dump(1024).size() == 25622);
// check if right indentation symbol is used
@@ -260,7 +260,7 @@ TEST_CASE("object inspection")
SECTION("object")
{
const auto j_object = R"({"":{"":{"":{"":{"":{}}}}}})"_json;
const auto j_object = json::parse(R"({"":{"":{"":{"":{"":{}}}}}})");
// check right size after indentation triggering a resize
CHECK(j_object.dump(1024).size() == 25642);
// check if right indentation symbol is used