(c *C)
| 77 | } |
| 78 | |
| 79 | func (s *SuiteCommit) TestParentNotFound(c *C) { |
| 80 | commit, err := s.Commit.Parent(42) |
| 81 | c.Assert(err, Equals, ErrParentNotFound) |
| 82 | c.Assert(commit, IsNil) |
| 83 | } |
| 84 | |
| 85 | func (s *SuiteCommit) TestPatch(c *C) { |
| 86 | from := s.commit(c, plumbing.NewHash("918c48b83bd081e863dbe1b80f8998f058cd8294")) |