Skip to content

hamming: make test names consistent [Fix #304] - #308

Merged
FridaTveit merged 2 commits into
exercism:masterfrom
michaelspets:hamming304
Feb 17, 2017
Merged

FridaTveit merged 2 commits into
exercism:masterfrom
michaelspets:hamming304

Conversation

@michaelspets

Copy link
Copy Markdown
Contributor

*Remove mention of "complete"

*Fix spelling mistake in second test

*Add throws Exception to methods that throw exceptions

*Remove mention of "complete"

*Fix spelling mistake in second test

*Add throws Exception to methods that throw exceptions

@FridaTveit FridaTveit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Only a couple of small comments :)

@Ignore
@Test
public void testValidatesFirstStrandNotLonger() {
public void testValidatesFirstStrandNotLonger() throws IllegalArgumentException {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need to add this exception to the signature as it is an unchecked exception :)

@Ignore
@Test
public void testValidatesOtherStrandNotLonger() {
public void testValidatesOtherStrandNotLonger() throws IllegalArgumentException {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same goes for this one :)

@FridaTveit FridaTveit left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great, thanks @michaelspets! :)

@FridaTveit
FridaTveit merged commit d42ade8 into exercism:master Feb 17, 2017
@michaelspets

Copy link
Copy Markdown
Contributor Author

Thank you too @FridaTveit, your comment about exceptions was very usefull!

@michaelspets
michaelspets deleted the hamming304 branch February 18, 2017 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants