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

gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'client/address_parser_test.go')
-rw-r--r--client/address_parser_test.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/address_parser_test.go b/client/address_parser_test.go
index 820a902b3..78368e5d3 100644
--- a/client/address_parser_test.go
+++ b/client/address_parser_test.go
@@ -10,10 +10,10 @@ func TestParseAddress(t *testing.T) {
canonical string
invalid bool
}{
- {raw: "unix:/foo/bar.socket", canonical: "unix:///foo/bar.socket"},
- {raw: "unix:///foo/bar.socket", canonical: "unix:///foo/bar.socket"},
- // Mainly for test purposes we explicitly want to support relative paths
- {raw: "unix://foo/bar.socket", canonical: "unix://foo/bar.socket"},
+ {raw: "unix:/foo/bar.socket", canonical: "unix:/foo/bar.socket"},
+ {raw: "unix://foo/bar.socket", canonical: "unix:/foo/bar.socket"},
+ {raw: "unix:///foo/bar.socket", canonical: "unix:/foo/bar.socket"},
+ // We explicitly want to support relative paths
{raw: "unix:foo/bar.socket", canonical: "unix:foo/bar.socket"},
{raw: "tcp://1.2.3.4", canonical: "1.2.3.4"},
{raw: "tcp://1.2.3.4:567", canonical: "1.2.3.4:567"},