(c *C)
| 581 | } |
| 582 | |
| 583 | func (s *SuiteDotGit) TestObjectPackNotFound(c *C) { |
| 584 | fs := fixtures.Basic().ByTag(".git").One().DotGit() |
| 585 | dir := New(fs) |
| 586 | |
| 587 | pack, err := dir.ObjectPack(plumbing.ZeroHash) |
| 588 | c.Assert(err, Equals, ErrPackfileNotFound) |
| 589 | c.Assert(pack, IsNil) |
| 590 | |
| 591 | idx, err := dir.ObjectPackIdx(plumbing.ZeroHash) |
| 592 | c.Assert(err, Equals, ErrPackfileNotFound) |
| 593 | c.Assert(idx, IsNil) |
| 594 | } |
| 595 | |
| 596 | func (s *SuiteDotGit) TestNewObject(c *C) { |
| 597 | fs := s.TemporalFilesystem(c) |
nothing calls this directly
no test coverage detected