提交 9c870bac 编写于 作者: N nan-xiansen

【startup_lite】【OpenHarmony-3.0-LTS】fix cases

Signed-off-by: Nnan-xiansen <nanjinbin@huawei.com>
Change-Id: I1e888d77578e0df22baa2ab37eda6f92d5c67a75
上级 10536eee
......@@ -302,7 +302,7 @@ LITE_TEST_CASE(ParameterFuncTestSuite, testObtainSysPara021, Function | MediumTe
{
const char* value = GetBuildTime();
printf("Build Time=%s\n", value);
AssertNotEmpty("value");
AssertNotEmpty(value);
};
/**
......
......@@ -406,7 +406,7 @@ LITE_TEST_CASE(ParameterReliTestSuite, testObtainSysParaReli021, Function | Medi
const char* value = GetBuildTime();
}
const char* value2 = GetBuildTime();
AssertNotEmpty("value");
TEST_ASSERT_EQUAL_STRING(value1, value2);
};
/**
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册