(c *C)
| 1302 | } |
| 1303 | |
| 1304 | func (s *RepositorySuite) TestCloneWithProgress(c *C) { |
| 1305 | fs := memfs.New() |
| 1306 | |
| 1307 | buf := bytes.NewBuffer(nil) |
| 1308 | _, err := Clone(memory.NewStorage(), fs, &CloneOptions{ |
| 1309 | URL: s.GetBasicLocalRepositoryURL(), |
| 1310 | Progress: buf, |
| 1311 | }) |
| 1312 | |
| 1313 | c.Assert(err, IsNil) |
| 1314 | c.Assert(buf.Len(), Not(Equals), 0) |
| 1315 | } |
| 1316 | |
| 1317 | func (s *RepositorySuite) TestCloneDeep(c *C) { |
| 1318 | fs := memfs.New() |
nothing calls this directly
no test coverage detected