mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-08-07 23:01:52 +08:00
fix: 修复区域工具类单元测试 #585
This commit is contained in:
@@ -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), "蒙古");
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user