(c *C)
| 223 | } |
| 224 | |
| 225 | func (s *RepositorySuite) TestClone(c *C) { |
| 226 | r, err := Clone(memory.NewStorage(), nil, &CloneOptions{ |
| 227 | URL: s.GetBasicLocalRepositoryURL(), |
| 228 | }) |
| 229 | |
| 230 | c.Assert(err, IsNil) |
| 231 | |
| 232 | remotes, err := r.Remotes() |
| 233 | c.Assert(err, IsNil) |
| 234 | c.Assert(remotes, HasLen, 1) |
| 235 | } |
| 236 | |
| 237 | func (s *RepositorySuite) TestCloneContext(c *C) { |
| 238 | ctx, cancel := context.WithCancel(context.Background()) |
nothing calls this directly
no test coverage detected