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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'workhorse/backend_test.go')
-rw-r--r--workhorse/backend_test.go3
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 {