Skip to content

Commit a1ad49c

Browse files
restyled-commitsmbknust
authored andcommitted
Restyled by clang-format
1 parent a3dee0c commit a1ad49c

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

src/lib/format/tests/TestDecoding.cpp

+1-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
#include <lib/format/protocol_decoder.h>
1919
#include <lib/support/StringBuilder.h>
2020

21-
2221
#include <tlv/meta/clusters_meta.h>
2322
#include <tlv/meta/protocols_meta.h>
2423

@@ -57,8 +56,7 @@ const std::array<const Node<ItemInfo>, 53 + 2> fake_protocols_meta = { {
5756
{ 2, _FakeProtocolData },
5857
} };
5958

60-
void TestSampleData(const PayloadDecoderInitParams & params, const SamplePayload & data,
61-
const char * expectation)
59+
void TestSampleData(const PayloadDecoderInitParams & params, const SamplePayload & data, const char * expectation)
6260
{
6361
chip::Decoders::PayloadDecoder<64, 128> decoder(
6462
PayloadDecoderInitParams(params).SetProtocol(data.protocolId).SetMessageType(data.messageType));

src/lib/format/tests/TestFlatTree.cpp

-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
#include <lib/core/TLVTags.h>
2020

21-
2221
#include <array>
2322

2423
#include <string.h>

src/lib/format/tests/TestFlatTreePosition.cpp

+3-4
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919

2020
#include <lib/core/TLVTags.h>
2121

22-
2322
#include <array>
2423
#include <vector>
2524

@@ -94,15 +93,15 @@ class ByName
9493
};
9594

9695
#define ASSERT_HAS_NAME(p, n) \
97-
EXPECT_NE(p.Get(), nullptr); \
96+
EXPECT_NE(p.Get(), nullptr); \
9897
EXPECT_EQ(strcmp(p.Get()->name, n), 0)
9998

10099
#define ASSERT_HAS_CONTEXT_TAG(p, t) \
101-
EXPECT_NE(p.Get(), nullptr); \
100+
EXPECT_NE(p.Get(), nullptr); \
102101
EXPECT_EQ(p.Get()->tag, ContextTag(t))
103102

104103
#define ASSERT_HAS_PROFILE_TAG(p, a, b) \
105-
EXPECT_NE(p.Get(), nullptr); \
104+
EXPECT_NE(p.Get(), nullptr); \
106105
EXPECT_EQ(p.Get()->tag, ProfileTag(a, b))
107106

108107
template <size_t N>

0 commit comments

Comments
 (0)