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

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

No files matched your search

+1
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"))
}