diff options
Diffstat (limited to 'pkg/integration/tests/stash')
-rw-r--r-- | pkg/integration/tests/stash/rename.go | 2 | ||||
-rw-r--r-- | pkg/integration/tests/stash/stash.go | 2 | ||||
-rw-r--r-- | pkg/integration/tests/stash/stash_including_untracked_files.go | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/pkg/integration/tests/stash/rename.go b/pkg/integration/tests/stash/rename.go index 5f48c80a2..fded5041c 100644 --- a/pkg/integration/tests/stash/rename.go +++ b/pkg/integration/tests/stash/rename.go @@ -18,7 +18,7 @@ var Rename = NewIntegrationTest(NewIntegrationTestArgs{ CreateFileAndAdd("file-2", "change to stash2"). StashWithMessage("bar") }, - Run: func(shell *Shell, t *TestDriver, keys config.KeybindingConfig) { + Run: func(t *TestDriver, keys config.KeybindingConfig) { t.Views().Stash(). Focus(). Lines( diff --git a/pkg/integration/tests/stash/stash.go b/pkg/integration/tests/stash/stash.go index 16c51537a..4265e0c23 100644 --- a/pkg/integration/tests/stash/stash.go +++ b/pkg/integration/tests/stash/stash.go @@ -15,7 +15,7 @@ var Stash = NewIntegrationTest(NewIntegrationTestArgs{ shell.CreateFile("file", "content") shell.GitAddAll() }, - Run: func(shell *Shell, t *TestDriver, keys config.KeybindingConfig) { + Run: func(t *TestDriver, keys config.KeybindingConfig) { t.Model().StashCount(0) t.Model().WorkingTreeFileCount(1) diff --git a/pkg/integration/tests/stash/stash_including_untracked_files.go b/pkg/integration/tests/stash/stash_including_untracked_files.go index cc38f2ee8..d46d7fb1d 100644 --- a/pkg/integration/tests/stash/stash_including_untracked_files.go +++ b/pkg/integration/tests/stash/stash_including_untracked_files.go @@ -16,7 +16,7 @@ var StashIncludingUntrackedFiles = NewIntegrationTest(NewIntegrationTestArgs{ shell.CreateFile("file_2", "content") shell.GitAdd("file_1") }, - Run: func(shell *Shell, t *TestDriver, keys config.KeybindingConfig) { + Run: func(t *TestDriver, keys config.KeybindingConfig) { t.Model().StashCount(0) t.Model().WorkingTreeFileCount(2) |