Initial commit
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package v10
|
||||
|
||||
import (
|
||||
"testing"
|
||||
)
|
||||
|
||||
func TestIsGlobalizationPhoneNumber(t *testing.T) {
|
||||
chinaPhone := IsGlobalizationPhoneNumber("16512571225")
|
||||
usPhone := IsGlobalizationPhoneNumber("001-626-202-3379")
|
||||
cambodiaPhone := IsGlobalizationPhoneNumber("+855965197993")
|
||||
hongKongPhome := IsGlobalizationPhoneNumber("+0085262307493")
|
||||
philippinesPhome := IsGlobalizationPhoneNumber("+639666279486")
|
||||
|
||||
t.Log("chinaPhone", chinaPhone)
|
||||
t.Log("usPhone", usPhone)
|
||||
t.Log("cambodiaPhone", cambodiaPhone)
|
||||
t.Log("hongKongPhome", hongKongPhome)
|
||||
t.Log("philippinesPhome", philippinesPhome)
|
||||
}
|
||||
Reference in New Issue
Block a user