summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Haller <stefan@haller-berlin.de>2024-03-02 22:57:15 +0100
committerStefan Haller <stefan@haller-berlin.de>2024-03-02 22:57:15 +0100
commit094ccae604b6eb0a1c37922a85901b078191b3e6 (patch)
tree67354574aacfeed54fe1f7a7bcce1671b988ae5f
parentad8803bffbcdeded6a6a72c1a39105d028aba013 (diff)
fixup! Show all submodules recursivelylist-submodules-recursively
-rw-r--r--pkg/integration/tests/submodule/enter_nested.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/pkg/integration/tests/submodule/enter_nested.go b/pkg/integration/tests/submodule/enter_nested.go
index 24cdf5261..172dfbfae 100644
--- a/pkg/integration/tests/submodule/enter_nested.go
+++ b/pkg/integration/tests/submodule/enter_nested.go
@@ -37,7 +37,11 @@ var EnterNested = NewIntegrationTest(NewIntegrationTestArgs{
// enter the nested submodule
PressEnter()
- t.Views().Status().Content(Contains("innerSubPath(innerSubName)"))
+ if t.Git().Version().IsAtLeast(2, 22, 0) {
+ t.Views().Status().Content(Contains("innerSubPath(innerSubName)"))
+ } else {
+ t.Views().Status().Content(Contains("innerSubPath"))
+ }
t.Views().Commits().ContainsLines(
Contains("initial inner commit"),
)