Closed
Description
From: https://github.com/exercism/x-common#test-data-format-canonical-datajson
if an error is expected (because the input is invalid, or any other reason), the value at "expected" should be an object containing exactly one property, "error", whose value is a string.
The string should explain why the error would occur.
But the hamming canonical data has an expected value of -1
Todo:
Update https://github.com/exercism/x-common/blob/master/exercises/hamming/canonical-data.json to use error objects for the expected value in the error cases:
e.g. "expected" : { "error": "some helpful message" }