Fix deletion of temporary clone directory

This commit is contained in:
René Pfeuffer
2018-11-07 11:13:21 +01:00
parent e2766d494a
commit 04c5d6f84a
2 changed files with 13 additions and 6 deletions

View File

@@ -66,7 +66,7 @@ public class SimpleGitWorkdirFactoryTest extends AbstractGitCommandTestBase {
File directory;
try (WorkingCopy workingCopy = factory.createWorkingCopy(createContext())) {
directory = workingCopy.get().getDirectory();
directory = workingCopy.get().getWorkTree();
}
assertThat(directory).doesNotExist();
}