Skip to content

Commit

Permalink
fixup! Show all submodules recursively
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanhaller committed Mar 2, 2024
1 parent ad8803b commit 094ccae
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/integration/tests/submodule/enter_nested.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
)
Expand Down

0 comments on commit 094ccae

Please sign in to comment.