Skip to content

Commit b3f33dd

Browse files
committed
hamming: remove signature for unchecked exceptions [Fix exercism#304]
1 parent 0191e43 commit b3f33dd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎exercises/hamming/src/test/java/HammingTest.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,14 +43,14 @@ public void testSmallHammingDistanceInLongerStrand() {
4343

4444
@Ignore
4545
@Test
46-
public void testValidatesFirstStrandNotLonger() throws IllegalArgumentException {
46+
public void testValidatesFirstStrandNotLonger() {
4747
thrown.expect(IllegalArgumentException.class);
4848
Hamming.compute("AAAG", "AAA");
4949
}
5050

5151
@Ignore
5252
@Test
53-
public void testValidatesOtherStrandNotLonger() throws IllegalArgumentException {
53+
public void testValidatesOtherStrandNotLonger() {
5454
thrown.expect(IllegalArgumentException.class);
5555
Hamming.compute("AAA", "AAAG");
5656
}

0 commit comments

Comments
 (0)