(c *C)
| 1274 | } |
| 1275 | |
| 1276 | func (s *RepositorySuite) TestCloneWithProgress(c *C) { |
| 1277 | fs := memfs.New() |
| 1278 | |
| 1279 | buf := bytes.NewBuffer(nil) |
| 1280 | _, err := Clone(memory.NewStorage(), fs, &CloneOptions{ |
| 1281 | URL: s.GetBasicLocalRepositoryURL(), |
| 1282 | Progress: buf, |
| 1283 | }) |
| 1284 | |
| 1285 | c.Assert(err, IsNil) |
| 1286 | c.Assert(buf.Len(), Not(Equals), 0) |
| 1287 | } |
| 1288 | |
| 1289 | func (s *RepositorySuite) TestCloneDeep(c *C) { |
| 1290 | fs := memfs.New() |
nothing calls this directly
no test coverage detected