(c *C)
| 724 | } |
| 725 | |
| 726 | func (s *SuiteDotGit) TestObjectNotFound(c *C) { |
| 727 | fs := fixtures.ByTag(".git").ByTag("unpacked").One().DotGit() |
| 728 | dir := New(fs) |
| 729 | |
| 730 | hash := plumbing.NewHash("not-found-object") |
| 731 | file, err := dir.Object(hash) |
| 732 | c.Assert(err, NotNil) |
| 733 | c.Assert(file, IsNil) |
| 734 | } |
| 735 | |
| 736 | func (s *SuiteDotGit) TestSubmodules(c *C) { |
| 737 | fs := fixtures.ByTag("submodule").One().DotGit() |