summaryrefslogtreecommitdiff
path: root/tag_test.go
diff options
context:
space:
mode:
authorCarlos Martín Nieto <[email protected]>2015-06-05 02:02:37 +0200
committerCarlos Martín Nieto <[email protected]>2015-06-08 04:07:49 +0200
commit85fde1fcfbc3fd6000b8fa1a4041b4c314a92b2f (patch)
tree80b29ec86120ba092fcd05c05e28e6a65d1f2b13 /tag_test.go
parent1011b03e4139580679bb93183a781edd11c22a97 (diff)
parent53c158fbd7e5f4dac787f5c3a7107fcb4116f676 (diff)
Merge remote-tracking branch 'origin/master' into next
Diffstat (limited to 'tag_test.go')
-rw-r--r--tag_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/tag_test.go b/tag_test.go
index 126cf6e..74f9fec 100644
--- a/tag_test.go
+++ b/tag_test.go
@@ -1,14 +1,14 @@
package git
import (
- "os"
"testing"
"time"
)
func TestCreateTag(t *testing.T) {
repo := createTestRepo(t)
- defer os.RemoveAll(repo.Workdir())
+ defer cleanupTestRepo(t, repo)
+
commitId, _ := seedTestRepo(t, repo)
commit, err := repo.LookupCommit(commitId)