Skip to content

Commit

Permalink
phone-number: Clears up contradiction re: why 11 digits is invalid
Browse files Browse the repository at this point in the history
There are two tests concerning 11 digit numbers.  One test says they are valid when the digits start with one.  The other test states that 11 digits is invalid, but doesn't state why.  The two tests seem to be contradicting each other.
  • Loading branch information
rpottsoh committed Mar 14, 2017
1 parent f67a2d8 commit 8e1ad99
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.0.1",
"version": "1.0.2",
"cases": [
{
"description": "Cleanup user-entered phone numbers",
Expand Down Expand Up @@ -35,7 +35,7 @@
"expected": null
},
{
"description": "invalid when 11 digits",
"description": "invalid when 11 digits does not start with a 1",
"property": "clean",
"phrase": "21234567890",
"expected": null
Expand Down

0 comments on commit 8e1ad99

Please sign in to comment.