Skip to content

Commit fc372ce

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

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

exercises/isbn-verifier/canonical-data.json

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,18 @@
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": ["Rename this test due to multiple tests on X that should be only valid as a check digit"],
6576
"property": "isValid",
6677
"input": {
6778
"isbn": "3-598-2X507-9"

0 commit comments

Comments
 (0)