mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-29 22:48:24 +02:00
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
This commit is contained in:
@@ -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()
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user