Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-pages.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJaime Martinez <jmartinez@gitlab.com>2021-06-08 09:18:04 +0300
committerJaime Martinez <jmartinez@gitlab.com>2021-06-10 04:01:46 +0300
commit296105df9f56d10eb7ab1f4b716b2d8d35fdea8d (patch)
treeae33f1d09c507da9eb1283fb1724f410048933a5 /test
parentb98b61c2f441c6a25d50ff0bbdb53f7f1c6e9e2a (diff)
Fix lint violations
Diffstat (limited to 'test')
-rw-r--r--test/acceptance/stub_test.go11
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.
//