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