diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-02-21 16:03:39 +0100 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-02-21 16:03:39 +0100 |
commit | ed288b30de1ac3dcb3ce675c4b9af89eb4e6fcba (patch) | |
tree | 6eb908b839d6c225d95691d91e3d5ef5220f54c1 /repository_test.go | |
parent | d6a6decd1be0515faf36256ce06c58c7d662bbd0 (diff) | |
download | go-git-ed288b30de1ac3dcb3ce675c4b9af89eb4e6fcba.tar.gz |
documentation and API improvements
Diffstat (limited to 'repository_test.go')
-rw-r--r-- | repository_test.go | 5 |
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) |