phone-number: update to match canonical-data.json#106
phone-number: update to match canonical-data.json#106rpottsoh merged 1 commit intoexercism:masterfrom rpottsoh:phone-number
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.