diff options
author | Sanskar Jaiswal <jaiswalsanskar078@gmail.com> | 2023-04-13 16:29:13 +0530 |
---|---|---|
committer | Sanskar Jaiswal <jaiswalsanskar078@gmail.com> | 2023-05-04 11:53:09 +0530 |
commit | 223727feb195642234a600040b12a2d3597d0989 (patch) | |
tree | 9d3d7662738b7a48bc08fd4f9d853534c06d3ea7 /plumbing/transport/ssh/upload_pack_test.go | |
parent | c2a93140c4d2a7df5666c7e436d8f1cb337a579d (diff) | |
download | go-git-223727feb195642234a600040b12a2d3597d0989.tar.gz |
plumbing: transport/ssh, add support for custom proxy URLs
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
Diffstat (limited to 'plumbing/transport/ssh/upload_pack_test.go')
-rw-r--r-- | plumbing/transport/ssh/upload_pack_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plumbing/transport/ssh/upload_pack_test.go b/plumbing/transport/ssh/upload_pack_test.go index f172fee..fafff48 100644 --- a/plumbing/transport/ssh/upload_pack_test.go +++ b/plumbing/transport/ssh/upload_pack_test.go @@ -14,6 +14,7 @@ import ( "sync" "github.com/go-git/go-git/v5/plumbing/transport" + testutils "github.com/go-git/go-git/v5/plumbing/transport/ssh/internal/test" "github.com/go-git/go-git/v5/plumbing/transport/test" "github.com/gliderlabs/ssh" @@ -57,7 +58,7 @@ func (s *UploadPackSuite) SetUpSuite(c *C) { s.UploadPackSuite.EmptyEndpoint = s.prepareRepository(c, fixtures.ByTag("empty").One(), "empty.git") s.UploadPackSuite.NonExistentEndpoint = s.newEndpoint(c, "non-existent.git") - server := &ssh.Server{Handler: handlerSSH} + server := &ssh.Server{Handler: testutils.HandlerSSH} for _, opt := range s.opts { opt(server) } |