From c00e886406e09a03f0b48f7fe778791e1e0aa380 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Thu, 21 May 2026 08:31:03 +0200 Subject: [PATCH] :rotating_light: fix compilation Signed-off-by: Niels Lohmann --- tests/src/unit-inspection.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/src/unit-inspection.cpp b/tests/src/unit-inspection.cpp index 83349484e..d79764bff 100644 --- a/tests/src/unit-inspection.cpp +++ b/tests/src/unit-inspection.cpp @@ -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