mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-25 00:46:54 +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 {
|
||||
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
|
||||
|
Reference in New Issue
Block a user