Skip to content

Commit

Permalink
phone-number: improve error message for letters
Browse files Browse the repository at this point in the history
  • Loading branch information
m-dango authored and Daniel Mita committed Dec 30, 2018
1 parent 155566f commit 435b472
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exercises/phone-number/canonical-data.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"exercise": "phone-number",
"version": "1.6.1",
"version": "1.7.0",
"cases": [
{
"description": "Cleanup user-entered phone numbers",
Expand Down Expand Up @@ -80,7 +80,7 @@
"input": {
"phrase": "123-abc-7890"
},
"expected": {"error": "alphanumerics not permitted"}
"expected": {"error": "letters not permitted"}
},
{
"description": "invalid with punctuations",
Expand Down

0 comments on commit 435b472

Please sign in to comment.