diff options
| author | Carlos Martín Nieto <[email protected]> | 2015-07-31 20:23:05 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <[email protected]> | 2015-07-31 20:23:05 +0200 |
| commit | def4494b74ec1c8fd12669e3f65bd29d6315c83c (patch) | |
| tree | 8ef9d2c2c6628d0dbfc8b26f7407c18c7aaf869c /tag_test.go | |
| parent | 6c4af98c5b2763b020e39357f31bcc6d6f1960e1 (diff) | |
Move CreateTag to the tags collection
Diffstat (limited to 'tag_test.go')
| -rw-r--r-- | tag_test.go | 4 |
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 } |
