Skip to content

Commit 6cdd590

Browse files
committed
Clang-format
1 parent 6ccac18 commit 6cdd590

File tree

1 file changed

+15
-15
lines changed

1 file changed

+15
-15
lines changed

extras/tests/JsonVariant/set.cpp

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -197,11 +197,11 @@ TEST_CASE("JsonVariant::set() when there is enough memory") {
197197
REQUIRE(result == true);
198198
REQUIRE(variant.is<double>() == true);
199199
REQUIRE(variant.as<double>() == 1.2);
200-
REQUIRE(spy.log() ==
201-
AllocatorLog{
202-
Allocate(sizeofPool<EightByteValue>()),
203-
Reallocate(sizeofPool<EightByteValue>(), sizeofPool<EightByteValue>(1)),
204-
});
200+
REQUIRE(spy.log() == AllocatorLog{
201+
Allocate(sizeofPool<EightByteValue>()),
202+
Reallocate(sizeofPool<EightByteValue>(),
203+
sizeofPool<EightByteValue>(1)),
204+
});
205205
}
206206

207207
SECTION("int32_t") {
@@ -220,11 +220,11 @@ TEST_CASE("JsonVariant::set() when there is enough memory") {
220220
REQUIRE(result == true);
221221
REQUIRE(variant.is<int64_t>() == true);
222222
REQUIRE(variant.as<int64_t>() == -2147483649LL);
223-
REQUIRE(spy.log() ==
224-
AllocatorLog{
225-
Allocate(sizeofPool<EightByteValue>()),
226-
Reallocate(sizeofPool<EightByteValue>(), sizeofPool<EightByteValue>(1)),
227-
});
223+
REQUIRE(spy.log() == AllocatorLog{
224+
Allocate(sizeofPool<EightByteValue>()),
225+
Reallocate(sizeofPool<EightByteValue>(),
226+
sizeofPool<EightByteValue>(1)),
227+
});
228228
}
229229

230230
SECTION("uint32_t") {
@@ -243,11 +243,11 @@ TEST_CASE("JsonVariant::set() when there is enough memory") {
243243
REQUIRE(result == true);
244244
REQUIRE(variant.is<uint64_t>() == true);
245245
REQUIRE(variant.as<uint64_t>() == 4294967296);
246-
REQUIRE(spy.log() ==
247-
AllocatorLog{
248-
Allocate(sizeofPool<EightByteValue>()),
249-
Reallocate(sizeofPool<EightByteValue>(), sizeofPool<EightByteValue>(1)),
250-
});
246+
REQUIRE(spy.log() == AllocatorLog{
247+
Allocate(sizeofPool<EightByteValue>()),
248+
Reallocate(sizeofPool<EightByteValue>(),
249+
sizeofPool<EightByteValue>(1)),
250+
});
251251
}
252252

253253
SECTION("JsonDocument") {

0 commit comments

Comments
 (0)