We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Looks like phone numbers from a new telecom operator Africell doesn't work.
Africell
Phone number example: +244951949757
Go test:
package libphonenumber import ( "testing" ) func TestPhoneNumber(t *testing.T) { phoneNumber := "+244951949757" p, _ := Parse(phoneNumber, "") if !IsValidNumber(p) { t.Error("phone number is invalid") } }
Output:
=== RUN TestPhoneNumber phone_number_test.go:11: phone number is invalid --- FAIL: TestPhoneNumber (0.00s) FAIL FAIL github.com/heetch/libphonenumber 0.313s FAIL
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Looks like phone numbers from a new telecom operator
Africell
doesn't work.Phone number example: +244951949757
Go test:
Output:
The text was updated successfully, but these errors were encountered: