Przeglądaj źródła

Removed unneeded ExpectedException

Frida Tveit 9 lat temu
rodzic
commit
9b92ac5c4f

+ 0
- 4
exercises/twelve-days/src/test/java/TwelveDaysTest.java Wyświetl plik

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() {