From 6badbeb07eb5cc0b1be201f5d8cc8193e30bcf54 Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Sun, 1 Nov 2015 01:38:35 +0100 Subject: clients: capabilities improvement --- clients/http/git_upload_pack_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'clients/http/git_upload_pack_test.go') diff --git a/clients/http/git_upload_pack_test.go b/clients/http/git_upload_pack_test.go index c90a259..b870259 100644 --- a/clients/http/git_upload_pack_test.go +++ b/clients/http/git_upload_pack_test.go @@ -34,7 +34,7 @@ func (s *SuiteRemote) TestCapabilities(c *C) { info, err := r.Info() c.Assert(err, IsNil) - c.Assert(info.Capabilities.Get("agent"), HasLen, 1) + c.Assert(info.Capabilities.Get("agent").Values, HasLen, 1) } func (s *SuiteRemote) TestFetch(c *C) { -- cgit