try to fix tests

This commit is contained in:
Grahame Grieve 2019-12-03 15:45:13 +11:00
parent 7917e129c3
commit afff183bbd
1 changed files with 2 additions and 1 deletions

View File

@ -513,7 +513,8 @@ public class TestingUtilities {
}
public static String tempFolder(String name) throws IOException {
if (new File("C:\\temp").exists()) {
File tmp = new File("C:\\temp");
if (tmp.exists() && tmp.isDirectory()) {
String path = Utilities.path("C:\\temp", name);
Utilities.createDirectory(path);
return path;