chore: remove unused newTestGitClient function

Remove the now-unused newTestGitClient helper that was left behind
after refactoring tests to use initGitRepo directly. This fixes the
golangci-lint 'unused' error in CI.

Co-authored-by: BagToad <47394200+BagToad@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Sam Morrow 2026-04-15 23:36:25 +02:00
parent 1d5c74a838
commit 013d531101
No known key found for this signature in database

View file

@ -20,13 +20,6 @@ import (
"github.com/stretchr/testify/require"
)
func newTestGitClient(t *testing.T, remoteURLs map[string]string) *git.Client {
t.Helper()
dir := t.TempDir()
initGitRepo(t, dir, remoteURLs)
return &git.Client{RepoDir: dir}
}
// initGitRepo initializes a git repo in the given directory and adds remotes.
// Use this when the git repo must live in the same directory as the skill files.
func initGitRepo(t *testing.T, dir string, remoteURLs map[string]string) {