diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-11-21 11:56:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-21 11:56:57 +0100 |
commit | b08cc8dc5450981530af3e6f6ad1159ae8ea8705 (patch) | |
tree | a08a49d64718262d455ec5f754aac4b4f9b94dab /plumbing/transport/http/common_test.go | |
parent | 97fb5e93083fbe4ea02078312ae2cbca3b145ab1 (diff) | |
parent | 2f51048cd2599d61d49085dc8ed2d51fe6dadd17 (diff) | |
download | go-git-b08cc8dc5450981530af3e6f6ad1159ae8ea8705.tar.gz |
Merge pull request #649 from mcuadros/auth
transport: made public all the fields and standardized AuthMethod
Diffstat (limited to 'plumbing/transport/http/common_test.go')
-rw-r--r-- | plumbing/transport/http/common_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/transport/http/common_test.go b/plumbing/transport/http/common_test.go index bd1bec3..c2c0d3e 100644 --- a/plumbing/transport/http/common_test.go +++ b/plumbing/transport/http/common_test.go @@ -49,7 +49,7 @@ func (s *UploadPackSuite) TestNewClient(c *C) { } func (s *ClientSuite) TestNewBasicAuth(c *C) { - a := NewBasicAuth("foo", "qux") + a := &BasicAuth{"foo", "qux"} c.Assert(a.Name(), Equals, "http-basic-auth") c.Assert(a.String(), Equals, "http-basic-auth - foo:*******") |