mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2025-01-31 09:30:05 +08:00
fix: 修复区域工具类单元测试 #585
This commit is contained in:
parent
826a7e0ac0
commit
6a24025afa
@ -28,7 +28,7 @@ public class AreaUtilsTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testFormat() {
|
public void testFormat() {
|
||||||
assertEquals(AreaUtils.format(110105), "北京 北京市 朝阳区");
|
assertEquals(AreaUtils.format(110105), "北京市 北京市 朝阳区");
|
||||||
assertEquals(AreaUtils.format(1), "中国");
|
assertEquals(AreaUtils.format(1), "中国");
|
||||||
assertEquals(AreaUtils.format(2), "蒙古");
|
assertEquals(AreaUtils.format(2), "蒙古");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user