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

refactor to ensure code doesn't depend on integration code

This commit is contained in:
Jesse Duffield
2022-08-13 12:56:04 +10:00
parent 2bdefe2049
commit 304d74370e
16 changed files with 203 additions and 169 deletions

View File

@ -81,7 +81,7 @@ func (self *IntegrationTest) SetupRepo(shell *Shell) {
}
// I want access to all contexts, the model, the ability to press a key, the ability to log,
func (self *IntegrationTest) Run(gui integrationTypes.GuiAdapter) {
func (self *IntegrationTest) Run(gui integrationTypes.GuiDriver) {
shell := NewShell()
assert := NewAssert(gui)
keys := gui.Keys()