Skip to content

Commit

Permalink
Restyled by clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
restyled-commits authored and emargolis committed Jul 20, 2023
1 parent e9c2138 commit bfe697c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/lib/support/jsontlv/JsonToTlv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
*/

#include <algorithm>
#include <json/json.h>
#include <lib/support/Base64.h>
#include <lib/support/SafeInt.h>
#include <lib/support/jsontlv/ElementTypes.h>
#include <lib/support/jsontlv/JsonToTlv.h>
#include <json/json.h>

namespace chip {

Expand Down
2 changes: 1 addition & 1 deletion src/lib/support/jsontlv/TlvToJson.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@

#include "lib/support/CHIPMemString.h"
#include "lib/support/ScopedBuffer.h"
#include <json/json.h>
#include <lib/core/DataModelTypes.h>
#include <lib/support/Base64.h>
#include <lib/support/SafeInt.h>
#include <lib/support/jsontlv/ElementTypes.h>
#include <lib/support/jsontlv/TlvToJson.h>
#include <json/json.h>

namespace chip {

Expand Down
12 changes: 6 additions & 6 deletions src/lib/support/tests/TestJsonToTlvToJson.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -897,12 +897,12 @@ void TestConverter_Array_Doubles(nlTestSuite * inSuite, void * inContext)
" ]\n"
"}\n";
std::string expectedString = "{\n"
" \"0:ARRAY-DOUBLE\" : [\n"
" 1.1000000000000001,\n"
" 134.27629999999999,\n"
" -12345.870000000001\n"
" ]\n"
"}\n";
" \"0:ARRAY-DOUBLE\" : [\n"
" 1.1000000000000001,\n"
" 134.27629999999999,\n"
" -12345.870000000001\n"
" ]\n"
"}\n";

ByteSpan tlvSpan(buf, writer.GetLengthWritten());
CheckValidConversion(jsonString, tlvSpan, expectedString);
Expand Down

0 comments on commit bfe697c

Please sign in to comment.