aboutsummaryrefslogtreecommitdiff
path: root/internal/testgit
diff options
context:
space:
mode:
Diffstat (limited to 'internal/testgit')
-rw-r--r--internal/testgit/repo_tag_annotated.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/testgit/repo_tag_annotated.go b/internal/testgit/repo_tag_annotated.go
index 7e9bfbf5..56bd6a0c 100644
--- a/internal/testgit/repo_tag_annotated.go
+++ b/internal/testgit/repo_tag_annotated.go
@@ -1,7 +1,6 @@
package testgit
import (
- "fmt"
"testing"
"codeberg.org/lindenii/furgit/objectid"
@@ -12,5 +11,5 @@ func (testRepo *TestRepo) TagAnnotated(tb testing.TB, name string, target object
tb.Helper()
testRepo.Run(tb, "tag", "-a", name, target.String(), "-m", message)
- return testRepo.RevParse(tb, fmt.Sprintf("refs/tags/%s", name))
+ return testRepo.RevParse(tb, "refs/tags/"+name)
}