提交 96ca767d 编写于 作者: O openharmony_ci 提交者: Gitee

!1004 【startup_lite】【OpenHarmony-3.0-LTS】"fix cases”

Merge pull request !1004 from 南先森/starup_lite
...@@ -302,7 +302,7 @@ LITE_TEST_CASE(ParameterFuncTestSuite, testObtainSysPara021, Function | MediumTe ...@@ -302,7 +302,7 @@ LITE_TEST_CASE(ParameterFuncTestSuite, testObtainSysPara021, Function | MediumTe
{ {
const char* value = GetBuildTime(); const char* value = GetBuildTime();
printf("Build Time=%s\n", value); printf("Build Time=%s\n", value);
AssertNotEmpty("value"); AssertNotEmpty(value);
}; };
/** /**
......
...@@ -406,7 +406,7 @@ LITE_TEST_CASE(ParameterReliTestSuite, testObtainSysParaReli021, Function | Medi ...@@ -406,7 +406,7 @@ LITE_TEST_CASE(ParameterReliTestSuite, testObtainSysParaReli021, Function | Medi
const char* value = GetBuildTime(); const char* value = GetBuildTime();
} }
const char* value2 = 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.
先完成此消息的编辑!
想要评论请 注册