mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
Support matchers on integers in integration tests
This commit is contained in:
@ -39,7 +39,7 @@ func (self *Common) ConfirmDiscardLines() {
|
||||
Confirm()
|
||||
}
|
||||
|
||||
func (self *Common) SelectPatchOption(matcher *Matcher) {
|
||||
func (self *Common) SelectPatchOption(matcher *TextMatcher) {
|
||||
self.t.GlobalPress(self.t.keys.Universal.CreatePatchOptionsMenu)
|
||||
|
||||
self.t.ExpectPopup().Menu().Title(Equals("Patch options")).Select(matcher).Confirm()
|
||||
|
Reference in New Issue
Block a user