From f511ea0c27aedcafbde73e6f89a2907685f0c339 Mon Sep 17 00:00:00 2001 From: liamfallon Date: Mon, 11 Nov 2024 17:48:38 +0000 Subject: [PATCH] Move functions to go file where they are used --- pkg/engine/clone_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/engine/clone_test.go b/pkg/engine/clone_test.go index fc715260..c98f5abe 100644 --- a/pkg/engine/clone_test.go +++ b/pkg/engine/clone_test.go @@ -115,7 +115,7 @@ func createRepoWithContents(t *testing.T, contentDir string) *gogit.Repository { return repo } -func startGitServer(t *testing.T, repo *git.Repo, _ ...git.GitServerOption) string { +func startGitServer(t *testing.T, repo *git.Repo, opts ...git.GitServerOption) string { key := "default" repos := git.NewStaticRepos() if err := repos.Add(key, repo); err != nil {