Просмотр исходного кода

Remove needless Exception from method signature

Fixes https://github.com/winterchord/xjava/commit/d09fb713d19abbcbdaaa979adb59aa7fc94532fd#commitcomment-14962172

The original PR (https://github.com/exercism/xjava/pull/69) that this issue
could have been fixed in was merged before I could fix this issue.
Brian Mathiyakom 10 лет назад
Родитель
Сommit
9d85b5d5a0
1 измененных файлов: 1 добавлений и 1 удалений
  1. 1
    1
      hello-world/src/test/java/HelloWorldTest.java

+ 1
- 1
hello-world/src/test/java/HelloWorldTest.java Просмотреть файл

@@ -16,7 +16,7 @@ public class HelloWorldTest {
16 16
     }
17 17
 
18 18
     @Test
19
-    public void helloAnotherSampleName() throws Exception {
19
+    public void helloAnotherSampleName() {
20 20
         assertEquals("Hello, Bob!", HelloWorld.hello("Bob"));
21 21
     }
22 22
 }