Skip to content

Commit

Permalink
Move functions to go file where they are used
Browse files Browse the repository at this point in the history
  • Loading branch information
liamfallon committed Nov 11, 2024
1 parent 83c0aa8 commit f511ea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/engine/clone_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f511ea0

Please sign in to comment.