mirror of
https://gitee.com/openharmony/global_i18n
synced 2024-11-23 07:00:13 +00:00
代码一致性问题
Signed-off-by: zhangdd_ewan <zhangdongdong50@huawei.com>
This commit is contained in:
parent
776a5eb8cc
commit
f6dd730c13
2
OAT.xml
2
OAT.xml
@ -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>
|
||||||
|
@ -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, "");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user