Skip to content

Commit 507e5ee

Browse files
restyled-commitsAlami-Amine
authored andcommitted
Restyled by whitespace
1 parent 6b333c4 commit 507e5ee

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

src/lib/format/tests/FuzzPayloadDecoderPW.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ void RunDecodePW(const std::vector<std::uint8_t> & bytes, chip::Protocols::Id mP
7373
// std::cout << "mMessageType: " << mMessageType << std::endl;
7474
}
7575

76-
// This allows us to fuzz test with all the combinations of protocols
76+
// This allows us to fuzz test with all the combinations of protocols
7777
auto ProtocolIDs()
7878
{
7979
return ElementOf({ chip::Protocols::SecureChannel::Id, chip::Protocols::InteractionModel::Id, chip::Protocols::BDX::Id,

src/setup_payload/tests/FuzzBase38PW.cpp

+6-6
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ using namespace fuzztest;
1414
using namespace chip;
1515

1616

17-
// The property Function
17+
// The property Function
1818
void Base38DecodeFuzz(const std::vector<uint8_t> & bytes)
1919
{
2020
std::string base38EncodedString(reinterpret_cast<const char *>(bytes.data()), bytes.size());
@@ -28,14 +28,14 @@ void Base38DecodeFuzz(const std::vector<uint8_t> & bytes)
2828

2929

3030

31-
31+
3232

3333
/* The property function for a base38 roundtrip Fuzzer.
3434
* It starts by encoding the fuzzing value passed
3535
* into Base38. The encoded value will then be decoded.
36-
*
36+
*
3737
* The fuzzer verifies that the decoded value is the same
38-
* as the one in input.*/
38+
* as the one in input.*/
3939
void Base38RoundTripFuzz(const std::vector<uint8_t> & bytes)
4040
{
4141

@@ -44,7 +44,7 @@ void Base38RoundTripFuzz(const std::vector<uint8_t> & bytes)
4444

4545

4646
ASSERT_LT(outputSizeNeeded, kMaxOutputSize);
47-
47+
4848
ByteSpan span(bytes.data(), bytes.size());
4949

5050
char encodedBuf[kMaxOutputSize];
@@ -60,7 +60,7 @@ void Base38RoundTripFuzz(const std::vector<uint8_t> & bytes)
6060

6161
ASSERT_EQ(decodingError, CHIP_NO_ERROR);
6262

63-
//Make sure that decoded data is equal to the original fuzzed input; the bytes vector
63+
//Make sure that decoded data is equal to the original fuzzed input; the bytes vector
6464
ASSERT_EQ(decodedData, bytes);
6565

6666
}

0 commit comments

Comments
 (0)