Skip to content

Commit ed9888b

Browse files
jlatusekarkq
andauthored
Update src/credentials/tests/TestChipCert.cpp
Co-authored-by: Arkadiusz Bokowy <arkadiusz.bokowy@gmail.com>
1 parent 582e3fa commit ed9888b

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/credentials/tests/TestChipCert.cpp

+1-5
Original file line numberDiff line numberDiff line change
@@ -163,11 +163,7 @@ static void ClearTimeSource(ValidationContext & validContext)
163163

164164
struct TestChipCert : public ::testing::Test
165165
{
166-
static void SetUpTestSuite()
167-
{
168-
CHIP_ERROR error = chip::Platform::MemoryInit();
169-
EXPECT_EQ(error, CHIP_NO_ERROR);
170-
}
166+
static void SetUpTestSuite() { ASSERT_EQ(chip::Platform::MemoryInit(), CHIP_NO_ERROR); }
171167
static void TearDownTestSuite() { chip::Platform::MemoryShutdown(); }
172168
};
173169

0 commit comments

Comments
 (0)