Skip to content

Commit e2fffa2

Browse files
committed
Fix
1 parent a2e44b6 commit e2fffa2

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/test/java/org/flightgear/terramaster/TestApacheDirectoryParser.java

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package org.flightgear.terramaster;
22

3+
import java.io.IOException;
34
import static org.junit.Assert.assertNotEquals;
45
import static org.junit.Assert.assertNotNull;
56

@@ -23,13 +24,13 @@ public void before() throws MalformedURLException {
2324
}
2425

2526
@Test
26-
public void testApacheDirectoryParser() throws MalformedURLException {
27-
String[] result = ApacheDirectoryParser.listDirectories(rootURL);
27+
public void testApacheDirectoryParser() throws MalformedURLException, IOException {
28+
String[] result = ApacheDirectoryParser.listDirectories(rootURL);
2829
assertNotEquals(0, result.length);
2930
}
3031

3132
@Test
32-
public void testApacheDirectoryParserRoot() throws MalformedURLException {
33+
public void testApacheDirectoryParserRoot() throws MalformedURLException, IOException {
3334
String[] result = ApacheDirectoryParser.listDirectories(rootURL);
3435
assertNotEquals(0, result.length);
3536
for (String string : result) {

0 commit comments

Comments
 (0)