diff options
Diffstat (limited to 'plumbing/transport/ssh')
-rw-r--r-- | plumbing/transport/ssh/upload_pack_test.go (renamed from plumbing/transport/ssh/fetch_pack_test.go) | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/plumbing/transport/ssh/fetch_pack_test.go b/plumbing/transport/ssh/upload_pack_test.go index 927e9a8..8194770 100644 --- a/plumbing/transport/ssh/fetch_pack_test.go +++ b/plumbing/transport/ssh/upload_pack_test.go @@ -9,29 +9,29 @@ import ( . "gopkg.in/check.v1" ) -type FetchPackSuite struct { - test.FetchPackSuite +type UploadPackSuite struct { + test.UploadPackSuite } -var _ = Suite(&FetchPackSuite{}) +var _ = Suite(&UploadPackSuite{}) -func (s *FetchPackSuite) SetUpSuite(c *C) { +func (s *UploadPackSuite) SetUpSuite(c *C) { if os.Getenv("SSH_AUTH_SOCK") == "" { c.Skip("SSH_AUTH_SOCK is not set") } - s.FetchPackSuite.Client = DefaultClient + s.UploadPackSuite.Client = DefaultClient ep, err := transport.NewEndpoint("git@github.com:git-fixtures/basic.git") c.Assert(err, IsNil) - s.FetchPackSuite.Endpoint = ep + s.UploadPackSuite.Endpoint = ep ep, err = transport.NewEndpoint("git@github.com:git-fixtures/empty.git") c.Assert(err, IsNil) - s.FetchPackSuite.EmptyEndpoint = ep + s.UploadPackSuite.EmptyEndpoint = ep ep, err = transport.NewEndpoint("git@github.com:git-fixtures/non-existent.git") c.Assert(err, IsNil) - s.FetchPackSuite.NonExistentEndpoint = ep + s.UploadPackSuite.NonExistentEndpoint = ep } |