Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 1 addition & 19 deletions exercises/hamming/canonical-data.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"exercise": "hamming",
"version": "2.3.0",
"version": "2.4.0",
"comments": [
"Language implementations vary on the issue of unequal length strands.",
"A language may elect to simplify this task by only presenting equal",
Expand Down Expand Up @@ -73,24 +73,6 @@
"strand2": "AGTG"
},
"expected": {"error": "left and right strands must be of equal length"}
},
{
"description": "disallow left empty strand",
"property": "distance",
"input": {
"strand1": "",
"strand2": "G"
},
"expected": {"error": "left strand must not be empty"}
},
{
"description": "disallow right empty strand",
"property": "distance",
"input": {
"strand1": "G",
"strand2": ""
},
"expected": {"error": "right strand must not be empty"}
}
]
}