aboutsummaryrefslogtreecommitdiffstats
path: root/repository_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'repository_test.go')
-rw-r--r--repository_test.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/repository_test.go b/repository_test.go
index 6a9c14a..89ea188 100644
--- a/repository_test.go
+++ b/repository_test.go
@@ -299,10 +299,9 @@ func (s *RepositorySuite) TestPlainCloneWithRecurseSubmodules(c *C) {
defer os.RemoveAll(dir)
path := fixtures.ByTag("submodule").One().Worktree().Base()
-
r, err := PlainClone(dir, false, &CloneOptions{
URL: fmt.Sprintf("file://%s", path),
- RecurseSubmodules: DefaultRecursivity,
+ RecurseSubmodules: DefaultSubmoduleRecursionDepth,
})
c.Assert(err, IsNil)
@@ -595,7 +594,7 @@ func (s *RepositorySuite) TestPullProgressWithRecursion(c *C) {
})
err = r.Pull(&PullOptions{
- RecurseSubmodules: DefaultRecursivity,
+ RecurseSubmodules: DefaultSubmoduleRecursionDepth,
})
c.Assert(err, IsNil)