diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-18 23:02:30 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-03-18 23:02:30 +0300 |
commit | 41fe97390ceddf945f3d967b8fdb3de4c66b7dea (patch) | |
tree | 9c8d89a8624828992f06d892cd2f43818ff5dcc8 /workhorse/backend_test.go | |
parent | 0804d2dc31052fb45a1efecedc8e06ce9bc32862 (diff) |
Add latest changes from gitlab-org/gitlab@14-9-stable-eev14.9.0-rc42
Diffstat (limited to 'workhorse/backend_test.go')
-rw-r--r-- | workhorse/backend_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/workhorse/backend_test.go b/workhorse/backend_test.go index c15947a75ad..8b62287fee4 100644 --- a/workhorse/backend_test.go +++ b/workhorse/backend_test.go @@ -10,7 +10,7 @@ func TestParseAuthBackendFailure(t *testing.T) { failures := []string{ "", "ftp://localhost", - "https://example.com", + "gopher://example.com", } for _, example := range failures { @@ -27,6 +27,7 @@ func TestParseAuthBackend(t *testing.T) { {"localhost:3000", "localhost:3000", "http"}, {"http://localhost", "localhost", "http"}, {"localhost", "localhost", "http"}, + {"https://localhost", "localhost", "https"}, } for _, example := range successes { |