Skip to content

feat: Added edge case tests for international phone number formats#30

Closed
thisusedtobekshitijshresth wants to merge 1 commit into
paypal:masterfrom
thisusedtobekshitijshresth:master
Closed

feat: Added edge case tests for international phone number formats#30
thisusedtobekshitijshresth wants to merge 1 commit into
paypal:masterfrom
thisusedtobekshitijshresth:master

Conversation

@thisusedtobekshitijshresth

Copy link
Copy Markdown
  • Tests handle real-world edge cases like special characters, multiple spaces, and format variations.
  • Added parsing tests with various separators, extensions and malformed inputs.
  • Added formatting tests across national, international, E164, and RFC3966 styles.
  • Added validation tests with length validation and cross-region scenarios.
  • Covers major international regions of US, UK, Germany, India, Brazil, Japan.

@dwbruhn

dwbruhn commented Oct 28, 2025

Copy link
Copy Markdown
Collaborator

@khresth thank you for the tests, but they're incorrect (see the CI output).

@dwbruhn dwbruhn marked this pull request as draft October 29, 2025 13:24
@dwbruhn dwbruhn closed this Jan 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants