mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-23 12:18:51 +02:00
fix: typo in IsVisible
assertion string
This commit is contained in:
parent
eef70dbdf6
commit
03a075c223
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user