Clang-format

This commit is contained in:
Benoit Blanchon
2025-05-31 18:35:36 +02:00
parent 6ccac18fd4
commit 6cdd59034d

View File

@ -197,10 +197,10 @@ TEST_CASE("JsonVariant::set() when there is enough memory") {
REQUIRE(result == true); REQUIRE(result == true);
REQUIRE(variant.is<double>() == true); REQUIRE(variant.is<double>() == true);
REQUIRE(variant.as<double>() == 1.2); REQUIRE(variant.as<double>() == 1.2);
REQUIRE(spy.log() == REQUIRE(spy.log() == AllocatorLog{
AllocatorLog{
Allocate(sizeofPool<EightByteValue>()), Allocate(sizeofPool<EightByteValue>()),
Reallocate(sizeofPool<EightByteValue>(), sizeofPool<EightByteValue>(1)), Reallocate(sizeofPool<EightByteValue>(),
sizeofPool<EightByteValue>(1)),
}); });
} }
@ -220,10 +220,10 @@ TEST_CASE("JsonVariant::set() when there is enough memory") {
REQUIRE(result == true); REQUIRE(result == true);
REQUIRE(variant.is<int64_t>() == true); REQUIRE(variant.is<int64_t>() == true);
REQUIRE(variant.as<int64_t>() == -2147483649LL); REQUIRE(variant.as<int64_t>() == -2147483649LL);
REQUIRE(spy.log() == REQUIRE(spy.log() == AllocatorLog{
AllocatorLog{
Allocate(sizeofPool<EightByteValue>()), Allocate(sizeofPool<EightByteValue>()),
Reallocate(sizeofPool<EightByteValue>(), sizeofPool<EightByteValue>(1)), Reallocate(sizeofPool<EightByteValue>(),
sizeofPool<EightByteValue>(1)),
}); });
} }
@ -243,10 +243,10 @@ TEST_CASE("JsonVariant::set() when there is enough memory") {
REQUIRE(result == true); REQUIRE(result == true);
REQUIRE(variant.is<uint64_t>() == true); REQUIRE(variant.is<uint64_t>() == true);
REQUIRE(variant.as<uint64_t>() == 4294967296); REQUIRE(variant.as<uint64_t>() == 4294967296);
REQUIRE(spy.log() == REQUIRE(spy.log() == AllocatorLog{
AllocatorLog{
Allocate(sizeofPool<EightByteValue>()), Allocate(sizeofPool<EightByteValue>()),
Reallocate(sizeofPool<EightByteValue>(), sizeofPool<EightByteValue>(1)), Reallocate(sizeofPool<EightByteValue>(),
sizeofPool<EightByteValue>(1)),
}); });
} }