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 committed Jun 13, 2022
1 parent 5c19b8d commit 331da6d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/protocols/secure_channel/CASESession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,6 @@ CHIP_ERROR CASESession::Init(SessionManager & sessionManager, Credentials::Certi
return CHIP_NO_ERROR;
}


CHIP_ERROR
CASESession::PrepareForSessionEstablishment(SessionManager & sessionManager, FabricTable * fabricTable,
SessionResumptionStorage * sessionResumptionStorage,
Expand Down
8 changes: 4 additions & 4 deletions src/protocols/secure_channel/tests/TestCASESession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -249,11 +249,11 @@ void CASE_SecurePairingWaitTest(nlTestSuite * inSuite, void * inContext)
pairing.PrepareForSessionEstablishment(sessionManager, nullptr, nullptr, nullptr, nullptr, ScopedNodeId()) ==
CHIP_ERROR_INVALID_ARGUMENT);
NL_TEST_ASSERT(inSuite,
pairing.PrepareForSessionEstablishment(sessionManager, nullptr, nullptr, nullptr, &delegate, ScopedNodeId()) ==
CHIP_ERROR_INVALID_ARGUMENT);
pairing.PrepareForSessionEstablishment(sessionManager, nullptr, nullptr, nullptr, &delegate,
ScopedNodeId()) == CHIP_ERROR_INVALID_ARGUMENT);
NL_TEST_ASSERT(inSuite,
pairing.PrepareForSessionEstablishment(sessionManager, &fabrics, nullptr, nullptr, &delegate, ScopedNodeId()) ==
CHIP_NO_ERROR);
pairing.PrepareForSessionEstablishment(sessionManager, &fabrics, nullptr, nullptr, &delegate,
ScopedNodeId()) == CHIP_NO_ERROR);
}
}

Expand Down

0 comments on commit 331da6d

Please sign in to comment.