1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

add bisect integration test

This commit is contained in:
Jesse Duffield
2022-08-22 19:34:02 +10:00
parent 79620fc6cf
commit 010f430d1f
141 changed files with 169 additions and 114 deletions

View File

@ -79,3 +79,11 @@ func (self *GuiDriver) MainView() *gocui.View {
func (self *GuiDriver) SecondaryView() *gocui.View {
return self.gui.secondaryView()
}
func (self *GuiDriver) View(viewName string) *gocui.View {
view, err := self.gui.g.View(viewName)
if err != nil {
panic(err)
}
return view
}