Skip to content

Commit 8d4ef41

Browse files
committed
Simplified TestBdxTransfersession::SetUpTestSuite as per PR suggestion.
1 parent 886a7a3 commit 8d4ef41

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/protocols/bdx/tests/TestBdxTransferSession.cpp

+1-5
Original file line numberDiff line numberDiff line change
@@ -325,11 +325,7 @@ void SendAndVerifyBlockAck(TransferSession & ackReceiver, TransferSession & ackS
325325

326326
struct TestBdxTransferSession : public ::testing::Test
327327
{
328-
static void SetUpTestSuite()
329-
{
330-
CHIP_ERROR error = chip::Platform::MemoryInit();
331-
ASSERT_EQ(error, CHIP_NO_ERROR);
332-
}
328+
static void SetUpTestSuite() { EXPECT_EQ(chip::Platform::MemoryInit(), CHIP_NO_ERROR); }
333329

334330
static void TearDownTestSuite() { chip::Platform::MemoryShutdown(); }
335331
};

0 commit comments

Comments
 (0)