Skip to content

Commit

Permalink
Use a valid port (sourcegraph#5198)
Browse files Browse the repository at this point in the history
  • Loading branch information
nicksnyder authored and beyang committed Sep 15, 2019
1 parent af04635 commit 62d38d9
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:https://[email protected]:port/path/to/repo.git/",
input: "ssh:https://[email protected]: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 62d38d9

Please sign in to comment.