From f2922155de01b734e3e8b3f50be8f263ec13cacd Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Fri, 6 Mar 2026 18:38:44 +0800 Subject: *: Lint --- internal/testgit/repo_tag_annotated.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'internal/testgit') 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) } -- cgit v1.3.1-10-gc9f91