1
0
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:
Jesse Duffield
2023-06-03 15:12:31 +10:00
parent e98935f83e
commit dd34adb36c
15 changed files with 220 additions and 146 deletions

View File

@ -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()