diff --git a/pkg/integration/tests/commit/checkout.go b/pkg/integration/tests/commit/checkout.go index ddd20c4ec..1f9c8fcfd 100644 --- a/pkg/integration/tests/commit/checkout.go +++ b/pkg/integration/tests/commit/checkout.go @@ -42,12 +42,13 @@ var Checkout = NewIntegrationTest(NewIntegrationTestArgs{ Tooltip(Contains("Disabled: No branches found at selected commit.")). Select(MatchesRegexp("Checkout commit [a-f0-9]+ as detached head")). Confirm() - t.Views().Branches().Lines( - Contains("* (HEAD detached at"), - Contains("branch1"), - Contains("branch2"), - Contains("master"), - ) + t.Views().Branches(). + Lines( + Contains("* (HEAD detached at"), + Contains("branch1"), + Contains("branch2"), + Contains("master"), + ) t.Views().Commits(). NavigateToLine(Contains("two")). @@ -63,10 +64,11 @@ var Checkout = NewIntegrationTest(NewIntegrationTestArgs{ ). Select(Contains("Checkout branch 'master'")). Confirm() - t.Views().Branches().Lines( - Contains("master"), - Contains("branch1"), - Contains("branch2"), - ) + t.Views().Branches(). + Lines( + Contains("master"), + Contains("branch1"), + Contains("branch2"), + ) }, })