From dcf0639a168c441de6753c6644322e6b619499ae Mon Sep 17 00:00:00 2001 From: Matej Risek Date: Sun, 19 Nov 2023 15:56:52 +0100 Subject: plumbing: Replace short field names with more descriptive ones. The decision to change the name of these fields came from reading the code further down in the scope and not being clear what `c.c` means. --- plumbing/transport/http/common_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plumbing/transport/http/common_test.go') diff --git a/plumbing/transport/http/common_test.go b/plumbing/transport/http/common_test.go index 6bd018b..c831ac3 100644 --- a/plumbing/transport/http/common_test.go +++ b/plumbing/transport/http/common_test.go @@ -46,7 +46,7 @@ func (s *UploadPackSuite) TestNewClient(c *C) { cl := &http.Client{Transport: roundTripper} r, ok := NewClient(cl).(*client) c.Assert(ok, Equals, true) - c.Assert(r.c, Equals, cl) + c.Assert(r.client, Equals, cl) } func (s *ClientSuite) TestNewBasicAuth(c *C) { -- cgit