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