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 c534bd5576d05bcb04605788eea37f35add2d6fc..07eb5485f4981bb3dbe3642e1519b7760b1c71e1 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 086daf56d336028d463a146c37412e2b6b130bf7..ea9fbc516f44e1f2f88c344e348117bd71eb2fd3 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)