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 4bf3889..2fdfe00 100644
--- a/tag_test.go
+++ b/tag_test.go
@@ -180,7 +180,7 @@ func createTestTag(t *testing.T, repo *Repository, commit *Commit) *Oid {
When: time.Date(2013, 03, 06, 14, 30, 0, 0, loc),
}
- tagId, err := repo.CreateTag("v0.0.0", commit, sig, "This is a tag")
+ tagId, err := repo.Tags.Create("v0.0.0", commit, sig, "This is a tag")
checkFatal(t, err)
return tagId
}
@@ -194,7 +194,7 @@ func createTag(t *testing.T, repo *Repository, commit *Commit, name, message str
When: time.Date(2013, 03, 06, 14, 30, 0, 0, loc),
}
- tagId, err := repo.CreateTag(name, commit, sig, message)
+ tagId, err := repo.Tags.Create(name, commit, sig, message)
checkFatal(t, err)
return tagId
}