mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-27 00:51:18 +02:00
fix: typo in IsVisible
assertion string
This commit is contained in:
@ -565,7 +565,7 @@ func (self *ViewDriver) IsVisible() *ViewDriver {
|
|||||||
|
|
||||||
func (self *ViewDriver) IsInvisible() *ViewDriver {
|
func (self *ViewDriver) IsInvisible() *ViewDriver {
|
||||||
self.t.assertWithRetries(func() (bool, string) {
|
self.t.assertWithRetries(func() (bool, string) {
|
||||||
return !self.getView().Visible, fmt.Sprintf("%s: Expected view to be visible, but it was not", self.context)
|
return !self.getView().Visible, fmt.Sprintf("%s: Expected view to be invisible, but it was not", self.context)
|
||||||
})
|
})
|
||||||
|
|
||||||
return self
|
return self
|
||||||
|
Reference in New Issue
Block a user