From 5913aee5004ff5b32c7926dda3af1f946d203f33 Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Thu, 22 Sep 2016 23:41:48 +0200 Subject: test coverage improved, Remote.Refs and Repository.Refs returns error, TreeWalker -> TreeIter --- common_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'common_test.go') diff --git a/common_test.go b/common_test.go index 6281d0a..90ac612 100644 --- a/common_test.go +++ b/common_test.go @@ -88,7 +88,7 @@ func (p *MockGitUploadPackService) Info() (*common.GitUploadPackInfo, error) { return nil, errors.New("not connected") } - h := core.NewHash("6ecf0ef2c2dffb796033e5a02219af86ec6584e5") + h := fixtures.ByURL(p.endpoint.String()).One().Head c := common.NewCapabilities() c.Decode("6ecf0ef2c2dffb796033e5a02219af86ec6584e5 HEADmulti_ack thin-pack side-band side-band-64k ofs-delta shallow no-progress include-tag multi_ack_detailed no-done symref=HEAD:refs/heads/master agent=git/2:2.4.8~dbussink-fix-enterprise-tokens-compilation-1167-gc7006cf") -- cgit