mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-30 03:23:08 +03:00
Add demo for amending old commit
This commit is contained in:
@ -40,6 +40,12 @@ func (self *ConfirmationDriver) Cancel() {
|
||||
self.getViewDriver().PressEscape()
|
||||
}
|
||||
|
||||
func (self *ConfirmationDriver) Wait(milliseconds int) *ConfirmationDriver {
|
||||
self.getViewDriver().Wait(milliseconds)
|
||||
|
||||
return self
|
||||
}
|
||||
|
||||
func (self *ConfirmationDriver) checkNecessaryChecksCompleted() {
|
||||
if !self.hasCheckedContent || !self.hasCheckedTitle {
|
||||
self.t.Fail("You must both check the content and title of a confirmation popup by calling Title()/Content() before calling Confirm()/Cancel().")
|
||||
|
Reference in New Issue
Block a user