Merge remote-tracking branch 'origin/FileIO' into FileIO
This commit is contained in:
@@ -12,6 +12,7 @@ import java.nio.file.Files;
|
||||
import java.nio.file.Path;
|
||||
import java.util.Comparator;
|
||||
import java.util.List;
|
||||
import java.util.logging.Logger;
|
||||
|
||||
import static org.junit.jupiter.api.Assertions.*;
|
||||
|
||||
@@ -107,7 +108,7 @@ class FileIOTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
void saveTournament() {
|
||||
void saveTournament() throws IOException {
|
||||
Tournament tournament = new Tournament("test1");
|
||||
io.saveTournament(tournament);
|
||||
File file = new File(mainDir + "/saves/test1.txt");
|
||||
|
||||
Reference in New Issue
Block a user