aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport/server/server_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'plumbing/transport/server/server_test.go')
-rw-r--r--plumbing/transport/server/server_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/plumbing/transport/server/server_test.go b/plumbing/transport/server/server_test.go
index 2459ab2..6a64674 100644
--- a/plumbing/transport/server/server_test.go
+++ b/plumbing/transport/server/server_test.go
@@ -53,14 +53,14 @@ func (s *BaseSuite) prepareRepositories(c *C, basic *transport.Endpoint,
*basic = ep
sto, err := filesystem.NewStorage(fs)
c.Assert(err, IsNil)
- s.loader[ep] = sto
+ s.loader[ep.String()] = sto
path = "/empty.git"
url = fmt.Sprintf("%s://%s", inprocScheme, path)
ep, err = transport.NewEndpoint(url)
c.Assert(err, IsNil)
*empty = ep
- s.loader[ep] = memory.NewStorage()
+ s.loader[ep.String()] = memory.NewStorage()
path = "/non-existent.git"
url = fmt.Sprintf("%s://%s", inprocScheme, path)