Selaa lähdekoodia

Removed unneeded ExpectedException

Frida Tveit 9 vuotta sitten
vanhempi
commit
9b92ac5c4f
1 muutettua tiedostoa jossa 0 lisäystä ja 4 poistoa
  1. 0
    4
      exercises/twelve-days/src/test/java/TwelveDaysTest.java

+ 0
- 4
exercises/twelve-days/src/test/java/TwelveDaysTest.java Näytä tiedosto

1
 import org.junit.Ignore;
1
 import org.junit.Ignore;
2
-import org.junit.Rule;
3
 import org.junit.Test;
2
 import org.junit.Test;
4
-import org.junit.rules.ExpectedException;
5
 
3
 
6
 import static org.junit.Assert.assertEquals;
4
 import static org.junit.Assert.assertEquals;
7
 
5
 
8
 public class TwelveDaysTest {
6
 public class TwelveDaysTest {
9
-    @Rule
10
-    public ExpectedException expectedException = ExpectedException.none();
11
 
7
 
12
     @Test
8
     @Test
13
     public void testVerseOne() {
9
     public void testVerseOne() {