(c *C)
| 121 | } |
| 122 | |
| 123 | func (s *SuiteCommit) TestParentNotFound(c *C) { |
| 124 | commit, err := s.Commit.Parent(42) |
| 125 | c.Assert(err, Equals, ErrParentNotFound) |
| 126 | c.Assert(commit, IsNil) |
| 127 | } |
| 128 | |
| 129 | func (s *SuiteCommit) TestPatch(c *C) { |
| 130 | from := s.commit(c, plumbing.NewHash("918c48b83bd081e863dbe1b80f8998f058cd8294")) |