diff --git a/idl_tool_2/test/unittest/sa_type_emitter_test/sa_map_type_emitter_test.cpp b/idl_tool_2/test/unittest/sa_type_emitter_test/sa_map_type_emitter_test.cpp index 5e762a9a4ff4347c3c65600225bde6c31200c960..aff62571788a27bc102b791c7cba427016da808b 100644 --- a/idl_tool_2/test/unittest/sa_type_emitter_test/sa_map_type_emitter_test.cpp +++ b/idl_tool_2/test/unittest/sa_type_emitter_test/sa_map_type_emitter_test.cpp @@ -64,7 +64,7 @@ HWTEST_F(SaMapTypeEmitterTest, EmitCppReadVar_001, Level1) std::string expectedCode = " std::unordered_map inParam;\n" " int32_t inParamSize = parcel.ReadInt32();\n" " if (inParamSize > static_cast(MAP_MAX_SIZE)) {\n" - " Hilog::Error(LABEL, \"The map size exceeds the security limit!\");\n" + " HiLog::Error(LABEL, \"The map size exceeds the security limit!\");\n" " return ERR_INVALID_DATA;\n" " }\n" " for (int32_t i1 = 0; i1 < inParamSize; ++i1) {\n" diff --git a/idl_tool_2/test/unittest/sa_type_emitter_test/sa_orderedmap_type_emitter_test.cpp b/idl_tool_2/test/unittest/sa_type_emitter_test/sa_orderedmap_type_emitter_test.cpp index e016cbe657dfebae0bf5564232c505a34affa5e5..fe0cbc3d8a1103f0b0be4eea6681bb8bd4a153bf 100644 --- a/idl_tool_2/test/unittest/sa_type_emitter_test/sa_orderedmap_type_emitter_test.cpp +++ b/idl_tool_2/test/unittest/sa_type_emitter_test/sa_orderedmap_type_emitter_test.cpp @@ -64,7 +64,7 @@ HWTEST_F(SaOrderedMapTypeEmitterTest, EmitCppReadVar_001, Level1) std::string expectedCode = " std::map inParam;\n" " int32_t inParamSize = parcel.ReadInt32();\n" " if (inParamSize > static_cast(MAP_MAX_SIZE)) {\n" - " Hilog::Error(LABEL, \"The map size exceeds the security limit!\");\n" + " HiLog::Error(LABEL, \"The map size exceeds the security limit!\");\n" " return ERR_INVALID_DATA;\n" " }\n" "\n"