Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Portree-Kid committed Feb 9, 2025
1 parent a2e44b6 commit e2fffa2
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package org.flightgear.terramaster;

import java.io.IOException;
import static org.junit.Assert.assertNotEquals;
import static org.junit.Assert.assertNotNull;

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

@Test
public void testApacheDirectoryParser() throws MalformedURLException {
String[] result = ApacheDirectoryParser.listDirectories(rootURL);
public void testApacheDirectoryParser() throws MalformedURLException, IOException {
String[] result = ApacheDirectoryParser.listDirectories(rootURL);
assertNotEquals(0, result.length);
}

@Test
public void testApacheDirectoryParserRoot() throws MalformedURLException {
public void testApacheDirectoryParserRoot() throws MalformedURLException, IOException {
String[] result = ApacheDirectoryParser.listDirectories(rootURL);
assertNotEquals(0, result.length);
for (String string : result) {
Expand Down

0 comments on commit e2fffa2

Please # to comment.