diff options
author | Jaime Martinez <jmartinez@gitlab.com> | 2021-06-08 09:18:04 +0300 |
---|---|---|
committer | Jaime Martinez <jmartinez@gitlab.com> | 2021-06-10 04:01:46 +0300 |
commit | 296105df9f56d10eb7ab1f4b716b2d8d35fdea8d (patch) | |
tree | ae33f1d09c507da9eb1283fb1724f410048933a5 /test | |
parent | b98b61c2f441c6a25d50ff0bbdb53f7f1c6e9e2a (diff) |
Fix lint violations
Diffstat (limited to 'test')
-rw-r--r-- | test/acceptance/stub_test.go | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/test/acceptance/stub_test.go b/test/acceptance/stub_test.go index e4dfbff7..3326b49e 100644 --- a/test/acceptance/stub_test.go +++ b/test/acceptance/stub_test.go @@ -32,11 +32,6 @@ type processConfig struct { type processOption func(*processConfig) -func withWait(v bool) processOption { - return func(config *processConfig) { - config.wait = v - } -} func withListeners(listeners []ListenSpec) processOption { return func(config *processConfig) { config.listeners = listeners @@ -60,12 +55,6 @@ func withArguments(args []string) processOption { } } -func withGitlabStubOpts(opts *stubOpts) processOption { - return func(config *processConfig) { - config.gitlabStubOpts = opts - } -} - // makeGitLabPagesAccessStub provides a stub *httptest.Server to check pages_access API call. // the result is based on the project id. // |