Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Commit

Permalink
Use a valid port (#5198)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksnyder authored Aug 14, 2019
1 parent c36a982 commit 50e541a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/conf/reposource/common_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,11 +99,11 @@ func TestParseCloneURL(t *testing.T) {
Path: "/path/to/repo.git/",
},
}, {
input: "ssh://user@host.xz:port/path/to/repo.git/",
input: "ssh://user@host.xz:1234/path/to/repo.git/",
output: &url.URL{
Scheme: "ssh",
User: url.User("user"),
Host: "host.xz:port",
Host: "host.xz:1234",
Path: "/path/to/repo.git/",
},
}, {
Expand Down

0 comments on commit 50e541a

Please sign in to comment.