aboutsummaryrefslogtreecommitdiffstats
path: root/repository_test.go
diff options
context:
space:
mode:
authorMike Lundy <mike@fluffypenguin.org>2018-05-10 22:59:27 -0700
committerMike Lundy <mike@fluffypenguin.org>2018-05-11 12:45:59 -0700
commit5dd9376f01fd2c397607ac333683c0bd676bed6a (patch)
tree079738dc9b9053ba1a523efbc9fb9bc438601d4f /repository_test.go
parente63b032e91ce35e0ecd5f27d43be655625e8af36 (diff)
downloadgo-git-5dd9376f01fd2c397607ac333683c0bd676bed6a.tar.gz
Teach ResolveRevision how to look up annotated tags
Signed-off-by: Mike Lundy <mike@fluffypenguin.org>
Diffstat (limited to 'repository_test.go')
-rw-r--r--repository_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/repository_test.go b/repository_test.go
index b78fbb7..e6978b9 100644
--- a/repository_test.go
+++ b/repository_test.go
@@ -1501,7 +1501,7 @@ func (s *RepositorySuite) TestResolveRevision(c *C) {
h, err := r.ResolveRevision(plumbing.Revision(rev))
c.Assert(err, IsNil)
- c.Assert(h.String(), Equals, hash)
+ c.Check(h.String(), Equals, hash, Commentf("while checking %s", rev))
}
}