Merge "Close the repo in CloneCommandTest"
This commit is contained in:
commit
b42293c81d
|
@ -221,6 +221,7 @@ public void testCloneRepositoryWhenDestinationDirectoryExistsAndIsNotEmpty()
|
|||
command.setDirectory(directory);
|
||||
command.setURI("file://" + git.getRepository().getWorkTree().getPath());
|
||||
Git git2 = command.call();
|
||||
addRepoToClose(git2.getRepository());
|
||||
assertNotNull(git2);
|
||||
// clone again
|
||||
command = Git.cloneRepository();
|
||||
|
|
Loading…
Reference in New Issue