Skip to content

Commit

Permalink
Merge pull request #585 from hunao0221/master
Browse files Browse the repository at this point in the history
fix: 修复区域工具类单元测试
  • Loading branch information
YunaiV authored Jul 7, 2024
2 parents cd99a36 + 167e415 commit ec480d1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public void testGetArea() {

@Test
public void testFormat() {
assertEquals(AreaUtils.format(110105), "北京 北京市 朝阳区");
assertEquals(AreaUtils.format(110105), "北京市 北京市 朝阳区");
assertEquals(AreaUtils.format(1), "中国");
assertEquals(AreaUtils.format(2), "蒙古");
}
Expand Down

0 comments on commit ec480d1

Please sign in to comment.