From 6cdd59034d170935f723574fc5553751bf1810e4 Mon Sep 17 00:00:00 2001 From: Benoit Blanchon Date: Sat, 31 May 2025 18:35:36 +0200 Subject: [PATCH] Clang-format --- extras/tests/JsonVariant/set.cpp | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/extras/tests/JsonVariant/set.cpp b/extras/tests/JsonVariant/set.cpp index 07d91f6c..420a3d85 100644 --- a/extras/tests/JsonVariant/set.cpp +++ b/extras/tests/JsonVariant/set.cpp @@ -197,11 +197,11 @@ TEST_CASE("JsonVariant::set() when there is enough memory") { REQUIRE(result == true); REQUIRE(variant.is() == true); REQUIRE(variant.as() == 1.2); - REQUIRE(spy.log() == - AllocatorLog{ - Allocate(sizeofPool()), - Reallocate(sizeofPool(), sizeofPool(1)), - }); + REQUIRE(spy.log() == AllocatorLog{ + Allocate(sizeofPool()), + Reallocate(sizeofPool(), + sizeofPool(1)), + }); } SECTION("int32_t") { @@ -220,11 +220,11 @@ TEST_CASE("JsonVariant::set() when there is enough memory") { REQUIRE(result == true); REQUIRE(variant.is() == true); REQUIRE(variant.as() == -2147483649LL); - REQUIRE(spy.log() == - AllocatorLog{ - Allocate(sizeofPool()), - Reallocate(sizeofPool(), sizeofPool(1)), - }); + REQUIRE(spy.log() == AllocatorLog{ + Allocate(sizeofPool()), + Reallocate(sizeofPool(), + sizeofPool(1)), + }); } SECTION("uint32_t") { @@ -243,11 +243,11 @@ TEST_CASE("JsonVariant::set() when there is enough memory") { REQUIRE(result == true); REQUIRE(variant.is() == true); REQUIRE(variant.as() == 4294967296); - REQUIRE(spy.log() == - AllocatorLog{ - Allocate(sizeofPool()), - Reallocate(sizeofPool(), sizeofPool(1)), - }); + REQUIRE(spy.log() == AllocatorLog{ + Allocate(sizeofPool()), + Reallocate(sizeofPool(), + sizeofPool(1)), + }); } SECTION("JsonDocument") {