diff --git a/kernel_lite/kernelkal_hal/src/kal_func_test.c b/kernel_lite/kernelkal_hal/src/kal_func_test.c index 1573dcc144d480b9e5299ebfce21bc5072e81147..7e483ab3da56daa615c7c15ff9350a82f7006e62 100755 --- a/kernel_lite/kernelkal_hal/src/kal_func_test.c +++ b/kernel_lite/kernelkal_hal/src/kal_func_test.c @@ -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);