aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport/http/common_test.go
diff options
context:
space:
mode:
authorMatej Risek <mrisek@gmail.com>2023-11-19 15:56:52 +0100
committerMatej Risek <mrisek@gmail.com>2023-11-19 16:46:03 +0100
commitdcf0639a168c441de6753c6644322e6b619499ae (patch)
tree12e55e94113616b2320db7c9a5c434bbec87dff2 /plumbing/transport/http/common_test.go
parentc114af0cc97ac71f5ac21e7e510eaadec37dfba0 (diff)
downloadgo-git-dcf0639a168c441de6753c6644322e6b619499ae.tar.gz
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.
Diffstat (limited to 'plumbing/transport/http/common_test.go')
-rw-r--r--plumbing/transport/http/common_test.go2
1 files changed, 1 insertions, 1 deletions
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) {