mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-12-05 16:02:09 +03:00
update test
This commit is contained in:
committed by
Luka Markušić
parent
0141bbde0e
commit
23d39c79b2
@@ -76,6 +76,12 @@ func (self *Input) Confirm() {
|
||||
self.pressKey(self.keys.Universal.Confirm)
|
||||
}
|
||||
|
||||
func (self *Input) ProceedWhenAsked(matcher *matcher) {
|
||||
self.assert.InConfirm()
|
||||
self.assert.MatchCurrentViewContent(matcher)
|
||||
self.Confirm()
|
||||
}
|
||||
|
||||
// i.e. same as Confirm
|
||||
func (self *Input) Enter() {
|
||||
self.pressKey(self.keys.Universal.Confirm)
|
||||
|
||||
Reference in New Issue
Block a user