summaryrefslogtreecommitdiff
path: root/push_test.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2014-03-19 08:03:21 +0100
committerCarlos Martín Nieto <[email protected]>2014-03-19 08:15:19 +0100
commit3ae9813fca2837601e5a7c801972396a59e1eb59 (patch)
treeabf9e476f464472802ddd76483d58d1b227e9bf8 /push_test.go
parentad128bdefb58927762798a5b708a63bff43b627e (diff)
Clean up after the tests
Diffstat (limited to 'push_test.go')
-rw-r--r--push_test.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/push_test.go b/push_test.go
index dfd4af7..c1e6a22 100644
--- a/push_test.go
+++ b/push_test.go
@@ -2,13 +2,16 @@ package git
import (
"log"
+ "os"
"testing"
"time"
)
func Test_Push_ToRemote(t *testing.T) {
repo := createBareTestRepo(t)
+ defer os.RemoveAll(repo.Path())
repo2 := createTestRepo(t)
+ defer os.RemoveAll(repo2.Workdir())
remote, err := repo2.CreateRemote("test_push", repo.Path())
checkFatal(t, err)