Skip to content

Commit 3d5213f

Browse files
committed
expect if to asserts
1 parent ac1ab61 commit 3d5213f

File tree

3 files changed

+389
-503
lines changed

3 files changed

+389
-503
lines changed

src/credentials/tests/TestCommissionerDUTVectors.cpp

+1-5
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,7 @@ static void OnAttestationInformationVerificationCallback(void * context, const D
4949

5050
struct TestCommissionerDUTVectors : public ::testing::Test
5151
{
52-
static void SetUpTestSuite()
53-
{
54-
CHIP_ERROR error = chip::Platform::MemoryInit();
55-
EXPECT_EQ(error, CHIP_NO_ERROR);
56-
}
52+
static void SetUpTestSuite() { ASSERT_EQ(chip::Platform::MemoryInit(), CHIP_NO_ERROR); }
5753

5854
static void TearDownTestSuite() { chip::Platform::MemoryShutdown(); }
5955
};

0 commit comments

Comments
 (0)