We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 68ace4b commit 149ae9aCopy full SHA for 149ae9a
1 file changed
git/git_test.go
@@ -551,13 +551,13 @@ func TestCloneOptionsFromOptions_Submodules(t *testing.T) {
551
Filesystem: fs,
552
WorkspaceFolder: "/workspace",
553
GitURL: "https://example.com/example/repo.git",
554
- GitCloneSubmodules: true,
+ GitCloneSubmodules: 10,
555
GitCloneThinPack: true,
556
}
557
558
cloneOpts, err := git.CloneOptionsFromOptions(t.Logf, opts)
559
require.NoError(t, err)
560
- require.True(t, cloneOpts.Submodules)
+ require.Equal(t, 10, cloneOpts.SubmoduleDepth)
561
562
563
// generates a random ed25519 private key
0 commit comments