summaryrefslogtreecommitdiff
path: root/push_test.go
diff options
context:
space:
mode:
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)