未验证 提交 f12ca311 编写于 作者: L leiyuqian 提交者: Gitee

update startup_lite/syspara_hal/src/parameter_utils.c.

Signed-off-by: Nleiyuqian <leiyuqian1@huawei.com>
上级 7c97f8f0
......@@ -16,7 +16,8 @@
#include "parameter_utils.h"
#include "hctest.h"
void AssertNotEmpty(const char* sysPara) {
void AssertNotEmpty(const char* sysPara)
{
TEST_ASSERT_NOT_NULL(sysPara);
if (sysPara != NULL) {
TEST_ASSERT_TRUE(strlen(sysPara) > 0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册