Skip to content

Phone number unit test not conforming to README (and neither to NANP) #310

@marcoesposito1988

Description

@marcoesposito1988

The README states (correctly according to the NANP format that the first digit of the Area and Exchange codes should be in the range 2-9 (so excluding 0 and 1).

However, the unit tests do not conform to this: invalid numbers (e.g. 1234567890) are supposed to be recognized as valid to pass the test. The example solution also does not conform.

Should I create a pull request with a correction or am I getting confused?

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueAn improvement or bug fix that favors new contributors

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions