代码一致性问题

Signed-off-by: zhangdd_ewan <zhangdongdong50@huawei.com>
This commit is contained in:
zhangdd_ewan 2024-06-18 10:27:26 +08:00
parent 776a5eb8cc
commit f6dd730c13
2 changed files with 3 additions and 3 deletions

View File

@ -29,7 +29,7 @@
<filefilter name="defaultFilter" desc="Files not to check"> <filefilter name="defaultFilter" desc="Files not to check">
<filteritem type="filepath" name="ta/timezone/.*.dat" desc="资源二进制文件"/> <filteritem type="filepath" name="ta/timezone/.*.dat" desc="资源二进制文件"/>
<filteritem type="filepath" name="figures/i18n.png" desc="图片二进制文件"/> <filteritem type="filepath" name="figures/i18n.png" desc="图片二进制文件"/>
<filteritem type="filepath" name="tools/data/location2tz.zip" desc="压缩文件,不参与编译运行"/> <filteritem type="filepath" name="ta/tools/data/location2tz.zip" desc="压缩文件,不参与编译运行"/>
</filefilter> </filefilter>
</filefilterlist> </filefilterlist>
</oatconfig> </oatconfig>

View File

@ -237,8 +237,8 @@ HWTEST_F(IntlTest, IntlFuncTest0053, TestSize.Level1)
std::string number2 = "+8618622350085"; std::string number2 = "+8618622350085";
std::string formatResult = phoneNumberFormat->format(number2); std::string formatResult = phoneNumberFormat->format(number2);
EXPECT_EQ(formatResult, "186 2235 0085"); EXPECT_EQ(formatResult, "186 2235 0085");
std::string location2 = phoneNumberFormat->getLocationName("fake-number", "zh-CN"); std::string location4 = phoneNumberFormat->getLocationName("fake-number", "zh-CN");
EXPECT_EQ(location2, ""); EXPECT_EQ(location4, "");
} }
/** /**