Skip to content

Commit

Permalink
ocr-numbers: implement error object
Browse files Browse the repository at this point in the history
  • Loading branch information
rpottsoh committed Sep 21, 2018
1 parent 85da7a5 commit 08a858f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions exercises/ocr-numbers/canonical-data.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"exercise": "ocr-numbers",
"version": "1.1.0",
"version": "1.2.0",
"comments": [
"An expectation of -1 indicates that a failure should be raised"
],
Expand Down Expand Up @@ -57,7 +57,7 @@
" "
]
},
"expected": -1
"expected": {"error": "must be a multiple of four"}
},
{
"description": "Input with a number of columns that is not a multiple of three raises an error",
Expand All @@ -70,7 +70,7 @@
" "
]
},
"expected": -1
"expected": {"error": "must be a multiple of three"}
},
{
"description": "Recognizes 110101100",
Expand Down

0 comments on commit 08a858f

Please sign in to comment.