Skip to content

Commit

Permalink
isbn-verifier: 'isbn number' -> 'isbn'
Browse files Browse the repository at this point in the history
Most of the test descriptions just used 'isbn', so let's be consistent
and avoid "International Standard Book Number number".
  • Loading branch information
ee7 committed Oct 13, 2020
1 parent 126568d commit 05d8bc5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions exercises/isbn-verifier/canonical-data.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,17 @@
},
"expected": true
},
{
"uuid": "6dc82b86-6f37-463e-9a20-ad141d3b3525",
"description": "valid isbn",
"comments": ["Fix wording: 'isbn number' -> 'isbn'"],
"reimplements": "0caa3eac-d2e3-4c29-8df8-b188bc8c9292",
"property": "isValid",
"input": {
"isbn": "3-598-21508-8"
},
"expected": true
},
{
"uuid": "19f76b53-7c24-45f8-87b8-4604d0ccd248",
"description": "invalid isbn check digit",
Expand All @@ -32,6 +43,17 @@
},
"expected": true
},
{
"uuid": "fb67f493-94d4-494e-858e-fa76baec8ac0",
"description": "valid isbn with a check digit of 10",
"comments": ["Fix wording: 'isbn number' -> 'isbn'"],
"reimplements": "4164bfee-fb0a-4a1c-9f70-64c6a1903dcd",
"property": "isValid",
"input": {
"isbn": "3-598-21507-X"
},
"expected": true
},
{
"uuid": "3ed50db1-8982-4423-a993-93174a20825c",
"description": "check digit is a character other than X",
Expand Down

0 comments on commit 05d8bc5

Please sign in to comment.