Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion exercises/luhn/canonical-data.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"exercise": "luhn",
"version": "1.3.0",
"version": "1.4.0",
"cases": [
{
"description": "single digit strings can not be valid",
Expand Down Expand Up @@ -74,6 +74,14 @@
},
"expected": false
},
{
"description": "valid strings with a non-digit added at the end become invalid",
"property": "valid",
"input": {
"value": "059a"
},
"expected": false
},
{
"description": "valid strings with punctuation included become invalid",
"property": "valid",
Expand Down