(c *C)
| 522 | } |
| 523 | |
| 524 | func (s *SuiteDotGit) TestObjectPack(c *C) { |
| 525 | f := fixtures.Basic().ByTag(".git").One() |
| 526 | fs := f.DotGit() |
| 527 | dir := New(fs) |
| 528 | |
| 529 | pack, err := dir.ObjectPack(plumbing.NewHash(f.PackfileHash)) |
| 530 | c.Assert(err, IsNil) |
| 531 | c.Assert(filepath.Ext(pack.Name()), Equals, ".pack") |
| 532 | } |
| 533 | |
| 534 | func (s *SuiteDotGit) TestObjectPackWithKeepDescriptors(c *C) { |
| 535 | f := fixtures.Basic().ByTag(".git").One() |
nothing calls this directly
no test coverage detected