diff options
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 { |