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:
parent
1d5c74a838
commit
013d531101
1 changed files with 0 additions and 7 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue