From c8269ae285a1f40fa393421139f182cc87baa8f2 Mon Sep 17 00:00:00 2001 From: Joel Therrien Date: Wed, 27 Mar 2019 21:06:05 -0700 Subject: [PATCH] Fix bug in test --- .../java/ca/joeltherrien/randomforest/TestSavingLoading.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/ca/joeltherrien/randomforest/TestSavingLoading.java b/src/test/java/ca/joeltherrien/randomforest/TestSavingLoading.java index a8fd370..41907cc 100644 --- a/src/test/java/ca/joeltherrien/randomforest/TestSavingLoading.java +++ b/src/test/java/ca/joeltherrien/randomforest/TestSavingLoading.java @@ -114,7 +114,7 @@ public class TestSavingLoading { final File directory = new File(settings.getSaveTreeLocation()); if(directory.exists()){ - directory.delete(); + cleanup(directory); } assertFalse(directory.exists()); directory.mkdir();