(c *C)
| 304 | } |
| 305 | |
| 306 | func (s *WorktreeSuite) TestPullDepth(c *C) { |
| 307 | r, err := Clone(memory.NewStorage(), memfs.New(), &CloneOptions{ |
| 308 | URL: fixtures.Basic().One().URL, |
| 309 | Depth: 1, |
| 310 | }) |
| 311 | |
| 312 | c.Assert(err, IsNil) |
| 313 | |
| 314 | w, err := r.Worktree() |
| 315 | c.Assert(err, IsNil) |
| 316 | err = w.Pull(&PullOptions{}) |
| 317 | c.Assert(err, Equals, nil) |
| 318 | } |
| 319 | |
| 320 | func (s *WorktreeSuite) TestPullAfterShallowClone(c *C) { |
| 321 | tempDir, clean := s.TemporalDir() |
nothing calls this directly
no test coverage detected