Skip to content

Commit e21a4d3

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

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

src/credentials/tests/TestDeviceAttestationConstruction.cpp

+1-6
Original file line numberDiff line numberDiff line change
@@ -31,12 +31,7 @@ using namespace chip::Credentials;
3131

3232
struct TestDeviceAttestationConstruction : public ::testing::Test
3333
{
34-
static void SetUpTestSuite()
35-
{
36-
CHIP_ERROR error = chip::Platform::MemoryInit();
37-
EXPECT_EQ(error, CHIP_NO_ERROR);
38-
}
39-
34+
static void SetUpTestSuite() { ASSERT_EQ(chip::Platform::MemoryInit(), CHIP_NO_ERROR); }
4035
static void TearDownTestSuite() { chip::Platform::MemoryShutdown(); }
4136
};
4237

0 commit comments

Comments
 (0)