diff options
author | J. Fernando Sánchez <balkian@gmail.com> | 2017-09-28 18:05:55 +0200 |
---|---|---|
committer | J. Fernando Sánchez <balkian@gmail.com> | 2017-09-28 18:05:55 +0200 |
commit | 0ddf8f55a4afbe4d56bbd3fc8546622f7b9b1872 (patch) | |
tree | 01dfffe8aa9f45eb962e22d6cab96fcf0a905767 /plumbing/transport/common_test.go | |
parent | 04765bb11cbadf22ed01ea12cb6f2834e9ee1ec5 (diff) | |
download | go-git-0ddf8f55a4afbe4d56bbd3fc8546622f7b9b1872.tar.gz |
Fixed SCP regex
URLs should be user@server:port/path instead of user@server:port:path
Diffstat (limited to 'plumbing/transport/common_test.go')
-rw-r--r-- | plumbing/transport/common_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/transport/common_test.go b/plumbing/transport/common_test.go index f869d44..52759e6 100644 --- a/plumbing/transport/common_test.go +++ b/plumbing/transport/common_test.go @@ -75,7 +75,7 @@ func (s *SuiteCommon) TestNewEndpointSCPLike(c *C) { } func (s *SuiteCommon) TestNewEndpointSCPLikeWithPort(c *C) { - e, err := NewEndpoint("git@github.com:9999:user/repository.git") + e, err := NewEndpoint("git@github.com:9999/user/repository.git") c.Assert(err, IsNil) c.Assert(e.Protocol(), Equals, "ssh") c.Assert(e.User(), Equals, "git") |