Skip to content

Commit 2c0a5e3

Browse files
committed
Reimplement test instead of mutating it
Thanks to @Cool-Katt for linking the documentation I needed.
1 parent c284e59 commit 2c0a5e3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

exercises/isbn-verifier/canonical-data.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,20 @@
6161
},
6262
{
6363
"uuid": "28025280-2c39-4092-9719-f3234b89c627",
64+
"description": "X is only valid as a check digit",
65+
"property": "isValid",
66+
"input": {
67+
"isbn": "3-598-2X507-9"
68+
},
69+
"expected": false
70+
},
71+
{
72+
"uuid": "0153f517-3008-4832-a168-8155c2ec0d94",
73+
"reimplements": "28025280-2c39-4092-9719-f3234b89c627",
6474
"description": "X is only valid as a check digit - X character is substituted for 10 and multiplied",
75+
"comments": [
76+
"Rename this test due to multiple tests on X that should be only valid as a check digit"
77+
],
6578
"property": "isValid",
6679
"input": {
6780
"isbn": "3-598-2X507-9"

0 commit comments

Comments
 (0)