(c *C)
| 189 | } |
| 190 | |
| 191 | func (s *SuiteCommit) TestPatchContext_ToNil(c *C) { |
| 192 | from := s.commit(c, plumbing.NewHash("918c48b83bd081e863dbe1b80f8998f058cd8294")) |
| 193 | |
| 194 | patch, err := from.PatchContext(context.Background(), nil) |
| 195 | c.Assert(err, IsNil) |
| 196 | |
| 197 | c.Assert(len(patch.String()), Equals, 242679) |
| 198 | } |
| 199 | |
| 200 | func (s *SuiteCommit) TestCommitEncodeDecodeIdempotent(c *C) { |
| 201 | pgpsignature := `-----BEGIN PGP SIGNATURE----- |
nothing calls this directly
no test coverage detected