提交 e77b7fed 编写于 作者: D deltree 提交者: openharmony_ci

!6 【轻量级 PR】:Should using proper assert.

Merge pull request !6 from deltree/N/A
上级 fa19c17a
......@@ -532,7 +532,7 @@ LITE_TEST_CASE(KalFuncTestSuite, testKalGetMemInfo001, LEVEL1)
MemInfo *pmemInfo;
pmemInfo = malloc(sizeof(MemInfo));
if (pmemInfo == NULL) {
TEST_ASSERT_EQUAL_INT(0, 1);
TEST_FAIL();
}
kRet = KalGetMemInfo(pmemInfo);
TEST_ASSERT_EQUAL_INT(KAL_OK, kRet);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册