Skip to content
New issue

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

phone-number: Tests don't seem to match problem description. #518

Closed
derifatives opened this issue Apr 29, 2017 · 1 comment
Closed

phone-number: Tests don't seem to match problem description. #518

derifatives opened this issue Apr 29, 2017 · 1 comment

Comments

@derifatives
Copy link

According to the README file:

The format is usually represented as

(NXX)-NXX-XXXX

where N is any digit from 2 through 9 and X is any digit from 0 through 9.

This implies that the first digit [and the 4th digit] of the 10 digit number CANNOT be 1, but the tests all use numbers that translate down to 1234567890.

@rbasso
Copy link
Contributor

rbasso commented Apr 30, 2017

Thanks for opening this issue, @derifatives!

The tests and the the description where recently changed by exercism/problem-specifications#745, but the Haskell track hasn't yet adapted to the new test data.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants