diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2023-02-26 11:49:15 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2023-02-26 12:54:13 +1100 |
commit | f7e8b2dd7194ef32f6644481c974602bd8059c9c (patch) | |
tree | 492a01ffb1367311bec75099cb21e5383e6ced0f /pkg/integration/tests/submodule/enter.go | |
parent | 8b5d59c2380c9d4c78d148d8ee0cecdfa556f1f5 (diff) |
cleanup integration test code
Diffstat (limited to 'pkg/integration/tests/submodule/enter.go')
-rw-r--r-- | pkg/integration/tests/submodule/enter.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pkg/integration/tests/submodule/enter.go b/pkg/integration/tests/submodule/enter.go index 8dbbb73b4..d877a4e29 100644 --- a/pkg/integration/tests/submodule/enter.go +++ b/pkg/integration/tests/submodule/enter.go @@ -20,8 +20,7 @@ var Enter = NewIntegrationTest(NewIntegrationTestArgs{ }, SetupRepo: func(shell *Shell) { shell.EmptyCommit("first commit") - shell.RunCommand("git clone --bare . ../other_repo") - shell.RunCommand("git submodule add ../other_repo my_submodule") + shell.CloneIntoSubmodule("my_submodule") shell.GitAddAll() shell.Commit("add submodule") }, |