-
-
Notifications
You must be signed in to change notification settings - Fork 35
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: update to match canonical-data.json #106
Conversation
This may need to be mentioned in x-common repository, but the tests for invalid_when_11 and valid_when_11 seem contradictory, if only due to lack of message in the test. Is there a way to have a custom message reported giving the reason why 11 is invalid, sometimes? |
Of course a message can be displayed, however it is only displayed on a failure. Is that what you are after?
Sent from my android device.
|
@kotp instead of |
You can make the change here, and potentially create that issue (or even a PR with the change) on x-common. |
If you only make the change here, then when we do the generator we would still have the same issue potentially. |
@kotp |
"invalid when 11 digits does not start with a 1" |
I'll update this PR after exercism/problem-specifications#724 in x-common shakes out. |
@kotp, canonical-data.json has been updated. I have updated my 2nd commit to reflect the change to the json description... Should the two commits be squashed or merged as is? @rbasso was all over my PR and approved the changes, a short lived PR. |
Yes, no point in bringing in the change if it isn't up to date. |
Canonical-data.json recently changed. Updating test runner and example solution to align with new json.
Canonical-data.json recently changed. Updating test runner and example solution to align with new json.