Skip to content

Commit

Permalink
Fix CI failure related to using aggregate initializer with C-String
Browse files Browse the repository at this point in the history
  • Loading branch information
Alami-Amine committed Jan 7, 2025
1 parent 4cdfd0f commit c6018c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/protocols/secure_channel/tests/TestPairingSession.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ TEST_F(TestPairingSession, PairingSessionTryDecodeMissingMRPParams)

struct DecodeSessionParamsTestCase
{
char testCaseName[100];
std::string testCaseName;
ReliableMessageProtocolConfig mrpConfig;
bool includeVersionInfo;
uint16_t dataModelRev;
Expand Down Expand Up @@ -364,11 +364,11 @@ TEST_F(TestPairingSession, TestDecodeSessionParameters)

if (!testCaseFailed)
{
printf("\n[PASSED] TestCaseName%s\n\n", testCase.testCaseName);
printf("\n[PASSED] TestCaseName%s\n\n", testCase.testCaseName.c_str());
}
else
{
printf("\n[FAILED] TestCaseName: %s\n\n", testCase.testCaseName);
printf("\n[FAILED] TestCaseName: %s\n\n", testCase.testCaseName.c_str());
testFailed = true;
}
}
Expand Down

0 comments on commit c6018c1

Please sign in to comment.