Fix bug in test

This commit is contained in:
Joel Therrien 2019-03-27 21:06:05 -07:00
parent 526a127b9d
commit c8269ae285

View file

@ -114,7 +114,7 @@ public class TestSavingLoading {
final File directory = new File(settings.getSaveTreeLocation()); final File directory = new File(settings.getSaveTreeLocation());
if(directory.exists()){ if(directory.exists()){
directory.delete(); cleanup(directory);
} }
assertFalse(directory.exists()); assertFalse(directory.exists());
directory.mkdir(); directory.mkdir();