From 060b0ef2a00c3a94e78a1fbac019f467a320f5fd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B9=E5=8F=8B=E6=9D=BE?= Date: Mon, 21 Jul 2025 09:48:47 +0000 Subject: [PATCH] codex MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 邹友松 --- .../inner_api/feature/update/model/task/src/task_body.cpp | 2 +- test/unittest/json_utils_test/updateservice_json_utils_test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interfaces/inner_api/feature/update/model/task/src/task_body.cpp b/interfaces/inner_api/feature/update/model/task/src/task_body.cpp index c534bd55..07eb5485 100644 --- a/interfaces/inner_api/feature/update/model/task/src/task_body.cpp +++ b/interfaces/inner_api/feature/update/model/task/src/task_body.cpp @@ -100,7 +100,7 @@ bool TaskBody::ReadFromParcel(Parcel &parcel) int32_t componentSize = parcel.ReadInt32(); if ((componentSize < MIN_VECTOR_SIZE) || (componentSize > MAX_VECTOR_SIZE)) { - ENGINE_LOGE("Invalid componentSize size=%{public}d", componentSize); + ENGINE_LOGE("Invalid componentSize size=%{public}d", componentSize); return false; } diff --git a/test/unittest/json_utils_test/updateservice_json_utils_test.cpp b/test/unittest/json_utils_test/updateservice_json_utils_test.cpp index 086daf56..ea9fbc51 100644 --- a/test/unittest/json_utils_test/updateservice_json_utils_test.cpp +++ b/test/unittest/json_utils_test/updateservice_json_utils_test.cpp @@ -80,7 +80,7 @@ HWTEST_F(UpdateServiceJsonUtilsTest, ParseJsonFalse, TestSize.Level1) /** * @tc.name: GetValueAndSetToNullptr -* @tc.desc: Test json string, root is nullptr +* @tc.desc: Test json string, check root is nullptr * @tc.type: FUNC */ HWTEST_F(UpdateServiceJsonUtilsTest, GetValueAndSetToNullptr, TestSize.Level1) -- Gitee