1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-04 12:52:28 +08:00

部分城市有4位区号+8位号码 (#69)

This commit is contained in:
Cai Zhijiang
2023-02-06 09:47:21 +08:00
committed by GitHub
parent 325be0d6a1
commit 17e8d2bb6d
2 changed files with 2 additions and 1 deletions

View File

@@ -208,6 +208,7 @@ func TestIsChinesePhone(t *testing.T) {
assert.Equal(true, IsChinesePhone("010-32116675"))
assert.Equal(true, IsChinesePhone("0464-8756213"))
assert.Equal(true, IsChinesePhone("0731-82251545")) //长沙晚报电话
assert.Equal(false, IsChinesePhone("123-87562"))
}