Merge "Fix GitConstructionTest teardown"

This commit is contained in:
Shawn Pearce 2011-05-31 10:01:56 -04:00 committed by Code Review
commit a00b951323
1 changed files with 9 additions and 0 deletions

View File

@ -51,6 +51,7 @@
import org.eclipse.jgit.errors.RepositoryNotFoundException;
import org.eclipse.jgit.lib.Repository;
import org.eclipse.jgit.lib.RepositoryTestCase;
import org.junit.After;
import org.junit.Before;
import org.junit.Test;
@ -73,6 +74,14 @@ public void setUp() throws Exception {
.getRepository();
}
@Override
@After
public void tearDown() throws Exception {
db.close();
bareRepo.close();
super.tearDown();
}
@Test
public void testWrap() {
Git git = Git.wrap(db);