diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-11-21 11:27:37 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-21 11:27:37 +0100 |
commit | 97fb5e93083fbe4ea02078312ae2cbca3b145ab1 (patch) | |
tree | 4ce4c4b5616edb713ea2bc0ebbf485376933cc91 /plumbing/transport/server/loader_test.go | |
parent | dd81bc9156afb8102dd4c082a81bdb285d2e0a4b (diff) | |
parent | 5eb1c562e7deb4191cb160af91a864fb783c1041 (diff) | |
download | go-git-97fb5e93083fbe4ea02078312ae2cbca3b145ab1.tar.gz |
Merge pull request #650 from mcuadros/endpoint
transport: converts Endpoint interface into a struct
Diffstat (limited to 'plumbing/transport/server/loader_test.go')
-rw-r--r-- | plumbing/transport/server/loader_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plumbing/transport/server/loader_test.go b/plumbing/transport/server/loader_test.go index 38fabe3..f35511d 100644 --- a/plumbing/transport/server/loader_test.go +++ b/plumbing/transport/server/loader_test.go @@ -26,7 +26,7 @@ func (s *LoaderSuite) SetUpSuite(c *C) { c.Assert(exec.Command("git", "init", "--bare", s.RepoPath).Run(), IsNil) } -func (s *LoaderSuite) endpoint(c *C, url string) transport.Endpoint { +func (s *LoaderSuite) endpoint(c *C, url string) *transport.Endpoint { ep, err := transport.NewEndpoint(url) c.Assert(err, IsNil) return ep |