aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFilip Navara <filip.navara@gmail.com>2019-04-22 12:18:47 +0200
committerFilip Navara <filip.navara@gmail.com>2019-04-24 09:40:06 +0200
commita306018ece3e448d6ebbce856a7dfe5e484d1a84 (patch)
tree7f691848a0dd7ec156e266dee4dff8f9387af8f0
parent565d0b13ea802b61352f992bf1058f0f984aa528 (diff)
downloadgo-git-a306018ece3e448d6ebbce856a7dfe5e484d1a84.tar.gz
Rename fixture tag to commit-graph
Signed-off-by: Filip Navara <filip.navara@gmail.com>
-rw-r--r--plumbing/format/commitgraph/commitgraph_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/plumbing/format/commitgraph/commitgraph_test.go b/plumbing/format/commitgraph/commitgraph_test.go
index 9b39ed8..581415c 100644
--- a/plumbing/format/commitgraph/commitgraph_test.go
+++ b/plumbing/format/commitgraph/commitgraph_test.go
@@ -75,14 +75,14 @@ func testDecodeHelper(c *C, path string) {
}
func (s *CommitgraphSuite) TestDecode(c *C) {
- fixtures.ByTag("commitgraph").Test(c, func(f *fixtures.Fixture) {
+ fixtures.ByTag("commit-graph").Test(c, func(f *fixtures.Fixture) {
dotgit := f.DotGit()
testDecodeHelper(c, path.Join(dotgit.Root(), "objects", "info", "commit-graph"))
})
}
func (s *CommitgraphSuite) TestReencode(c *C) {
- fixtures.ByTag("commitgraph").Test(c, func(f *fixtures.Fixture) {
+ fixtures.ByTag("commit-graph").Test(c, func(f *fixtures.Fixture) {
dotgit := f.DotGit()
reader, err := mmap.Open(path.Join(dotgit.Root(), "objects", "info", "commit-graph"))
@@ -105,7 +105,7 @@ func (s *CommitgraphSuite) TestReencode(c *C) {
}
func (s *CommitgraphSuite) TestReencodeInMemory(c *C) {
- fixtures.ByTag("commitgraph").Test(c, func(f *fixtures.Fixture) {
+ fixtures.ByTag("commit-graph").Test(c, func(f *fixtures.Fixture) {
dotgit := f.DotGit()
reader, err := mmap.Open(path.Join(dotgit.Root(), "objects", "info", "commit-graph"))