(c *C)
| 553 | } |
| 554 | |
| 555 | func (s *SuiteDotGit) TestObjectPackNotFound(c *C) { |
| 556 | fs := fixtures.Basic().ByTag(".git").One().DotGit() |
| 557 | dir := New(fs) |
| 558 | |
| 559 | pack, err := dir.ObjectPack(plumbing.ZeroHash) |
| 560 | c.Assert(err, Equals, ErrPackfileNotFound) |
| 561 | c.Assert(pack, IsNil) |
| 562 | |
| 563 | idx, err := dir.ObjectPackIdx(plumbing.ZeroHash) |
| 564 | c.Assert(err, Equals, ErrPackfileNotFound) |
| 565 | c.Assert(idx, IsNil) |
| 566 | } |
| 567 | |
| 568 | func (s *SuiteDotGit) TestNewObject(c *C) { |
| 569 | fs, clean := s.TemporalFilesystem() |
nothing calls this directly
no test coverage detected