Skip to content

Commit

Permalink
Add 0 length string as a test case for Luhn
Browse files Browse the repository at this point in the history
  • Loading branch information
stevejb71 committed Jan 11, 2017
1 parent 2b9264e commit fbb71db
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion exercises/luhn/canonical-data.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{
"valid": [
{
"description": "single digit strings can not be valid",
"description": "zero length strings are not valid",
"input": "",
"expected": false
},
{
"description": "single digit strings are not valid",
"input": "1",
"expected": false
},
Expand Down

0 comments on commit fbb71db

Please sign in to comment.