(c *C)
| 493 | } |
| 494 | |
| 495 | func (s *SuiteDotGit) TestObjectPack(c *C) { |
| 496 | f := fixtures.Basic().ByTag(".git").One() |
| 497 | fs := f.DotGit() |
| 498 | dir := New(fs) |
| 499 | |
| 500 | pack, err := dir.ObjectPack(plumbing.NewHash(f.PackfileHash)) |
| 501 | c.Assert(err, IsNil) |
| 502 | c.Assert(filepath.Ext(pack.Name()), Equals, ".pack") |
| 503 | } |
| 504 | |
| 505 | func (s *SuiteDotGit) TestObjectPackWithKeepDescriptors(c *C) { |
| 506 | f := fixtures.Basic().ByTag(".git").One() |
nothing calls this directly
no test coverage detected