1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-15 01:34:26 +02:00

rename input to t

This commit is contained in:
Jesse Duffield
2022-12-27 21:35:36 +11:00
parent 53e06b71ae
commit 78b495f50a
45 changed files with 376 additions and 399 deletions

View File

@ -14,8 +14,8 @@ var One = NewIntegrationTest(NewIntegrationTestArgs{
shell.
CreateNCommits(5) // these will appears at commit 05, 04, 04, down to 01
},
Run: func(shell *Shell, input *Input, keys config.KeybindingConfig) {
input.Views().Commits().
Run: func(shell *Shell, t *TestDriver, keys config.KeybindingConfig) {
t.Views().Commits().
Focus().
Lines(
Contains("commit 05"),
@ -61,7 +61,7 @@ var One = NewIntegrationTest(NewIntegrationTestArgs{
Contains("commit 01"),
).
Tap(func() {
input.ContinueRebase()
t.ContinueRebase()
}).
Lines(
Contains("commit 02"),