1
0
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:
AzraelSec 2024-06-05 02:51:24 +02:00 committed by Stefan Haller
parent eef70dbdf6
commit 03a075c223

View File

@ -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