I don’t think you need the `doTestCreateGithubRepo...
# pact-go
m
I don’t think you need the
doTestCreateGithubRepo
function at all. I think you can just do something like this:
Copy code
err = mockProvider.ExecuteTest(t, executeTestCreateGithubRepo("foo", t))
and then
Copy code
var executeTestCreateGithubRepo = func(repo string, t *testing.T) func(config MockServerConfig) error {
   ...
}
👍 1