(c *C)
| 3062 | } |
| 3063 | |
| 3064 | func (s *RepositorySuite) TestCommitIterClosePanic(c *C) { |
| 3065 | r, _ := Init(memory.NewStorage(), nil) |
| 3066 | err := r.clone(context.Background(), &CloneOptions{URL: s.GetBasicLocalRepositoryURL()}) |
| 3067 | c.Assert(err, IsNil) |
| 3068 | |
| 3069 | commits, err := r.CommitObjects() |
| 3070 | c.Assert(err, IsNil) |
| 3071 | commits.Close() |
| 3072 | } |
| 3073 | |
| 3074 | func (s *RepositorySuite) TestRef(c *C) { |
| 3075 | r, _ := Init(memory.NewStorage(), nil) |
nothing calls this directly
no test coverage detected