diff --git a/exercises/luhn/canonical-data.json b/exercises/luhn/canonical-data.json index 9324ceb929..f8622635cb 100644 --- a/exercises/luhn/canonical-data.json +++ b/exercises/luhn/canonical-data.json @@ -1,6 +1,6 @@ { "exercise": "luhn", - "version": "1.3.0", + "version": "1.4.0", "cases": [ { "description": "single digit strings can not be valid", @@ -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",