From b63ec4d82bda6eda0c7e9343bd191f81cd3d1287 Mon Sep 17 00:00:00 2001 From: Niels Lohmann Date: Thu, 22 Oct 2026 17:49:17 +0200 Subject: [PATCH] Put the key number of the json_view index test in parentheses astyle formatted i * step after << as a pointer declaration (i* step), which failed the amalgamation check. Signed-off-by: Niels Lohmann --- tests/src/unit-json_view_dump.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/unit-json_view_dump.cpp b/tests/src/unit-json_view_dump.cpp index 25d6da3ca..12c74e167 100644 --- a/tests/src/unit-json_view_dump.cpp +++ b/tests/src/unit-json_view_dump.cpp @@ -648,7 +648,7 @@ TEST_CASE("json_view large objects") { std::ostringstream key; key << pattern.substr(0, percent) << std::setfill('0') << std::setw(static_cast(width)) - << (hex ? std::hex : std::dec) << i * step << pattern.substr(conversion + 1); + << (hex ? std::hex : std::dec) << (i * step) << pattern.substr(conversion + 1); keys.push_back(key.str()); } return keys;