Browse Source

Merge "Close the repo in CloneCommandTest"

stable-1.2
Christian Halstrick 13 years ago committed by Code Review
parent
commit
b42293c81d
  1. 1
      org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CloneCommandTest.java

1
org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CloneCommandTest.java

@ -221,6 +221,7 @@ public class CloneCommandTest extends RepositoryTestCase {
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…
Cancel
Save