未验证 提交 4e5de0be 编写于 作者: O openharmony_ci 提交者: Gitee

!8236 【startup_lite】【OpenHarmony-3.2-Release】GetSecurityPatchTag接口返回值格式变更适配

Merge pull request !8236 from 南先森/cherry-pick-1679919314
......@@ -477,7 +477,7 @@ LITE_TEST_CASE(DeviceInfoFuncTestSuite,
TEST_ASSERT_TRUE(day <= 31 && day > 0);
char str[10] = {0};
ret = sprintf_s(str, sizeof(str) + 1, "%d-%02d-%02d", year, month, day);
ret = sprintf_s(str, sizeof(str) + 1, "%d\/%02d\/%02d", year, month, day);
if (ret < RET_SUCCESS)
{
TEST_ASSERT_TRUE(ret >= 0);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册