summaryrefslogtreecommitdiffstats
path: root/pkg/integration
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2023-07-28 18:53:00 +1000
committerJesse Duffield <jessedduffield@gmail.com>2023-07-30 18:35:24 +1000
commit06be88aef7fc011a1ac1c04ce094b4aafd7bad69 (patch)
tree540cee503566c4d4c24e250b792c8fedf04d6e88 /pkg/integration
parent4c5b1574f147fe2005bcd30bbb5dc106c4838b92 (diff)
Use fields rather than methods on worktrees
I would prefer to use methods to keep things immutable but I'd rather be consistent with the other models and update them all at once
Diffstat (limited to 'pkg/integration')
-rw-r--r--pkg/integration/tests/ui/switch_tab_from_menu.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/pkg/integration/tests/ui/switch_tab_from_menu.go b/pkg/integration/tests/ui/switch_tab_from_menu.go
index e74d76017..61bd991ab 100644
--- a/pkg/integration/tests/ui/switch_tab_from_menu.go
+++ b/pkg/integration/tests/ui/switch_tab_from_menu.go
@@ -17,11 +17,9 @@ var SwitchTabFromMenu = NewIntegrationTest(NewIntegrationTestArgs{
Press(keys.Universal.OptionMenuAlt1)
t.ExpectPopup().Menu().Title(Equals("Keybindings")).
- // Looping back around to the end to side-step the worktrees view which is
- // only present on recent git versions
- Select(Contains("Previous tab")).
+ Select(Contains("Next tab")).
Confirm()
- t.Views().Submodules().IsFocused()
+ t.Views().Worktrees().IsFocused()
},
})