Skip to content

Hamming: Updates canonical-data.json to comply with schema #875

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 9, 2017
Merged
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
6 changes: 3 additions & 3 deletions exercises/hamming/canonical-data.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"exercise": "hamming",
"version": "1.1.0",
"version": "2.0.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 @@ -110,14 +110,14 @@
"property": "distance",
"strand1": "AATG",
"strand2": "AAA",
"expected": -1
"expected": {"error": "left and right strands must be of equal length"}
},
{
"description": "disallow second strand longer",
"property": "distance",
"strand1": "ATA",
"strand2": "AGTG",
"expected": -1
"expected": {"error": "left and right strands must be of equal length"}
}
]
}