Skip to content

Commit d281afd

Browse files
authored
[ISBN Verifier] Add a new tests that checks an X in the middle is not replaced by 10 (#2601)
[Forum discussion](https://forum.exercism.org/t/isbn-verifier-error-in-tests-that-check-if-the-x-character-is-only-the-verification-digit/19639).
1 parent 42dbf46 commit d281afd

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

exercises/isbn-verifier/canonical-data.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,15 @@
6868
},
6969
"expected": false
7070
},
71+
{
72+
"uuid": "fdb14c99-4cf8-43c5-b06d-eb1638eff343",
73+
"description": "X is not substituted by the value 10",
74+
"property": "isValid",
75+
"input": {
76+
"isbn": "3-598-2X507-5"
77+
},
78+
"expected": false
79+
},
7180
{
7281
"uuid": "f6294e61-7e79-46b3-977b-f48789a4945b",
7382
"description": "valid isbn without separating dashes",

0 commit comments

Comments
 (0)