From 094ccae604b6eb0a1c37922a85901b078191b3e6 Mon Sep 17 00:00:00 2001 From: Stefan Haller Date: Sat, 2 Mar 2024 22:57:15 +0100 Subject: fixup! Show all submodules recursively --- pkg/integration/tests/submodule/enter_nested.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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"), ) -- cgit v1.2.3