diff options
Diffstat (limited to 'pkg/integration/tests/file')
-rw-r--r-- | pkg/integration/tests/file/dir_with_untracked_file.go | 2 | ||||
-rw-r--r-- | pkg/integration/tests/file/discard_changes.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/pkg/integration/tests/file/dir_with_untracked_file.go b/pkg/integration/tests/file/dir_with_untracked_file.go index 56128aabb..e94d237d9 100644 --- a/pkg/integration/tests/file/dir_with_untracked_file.go +++ b/pkg/integration/tests/file/dir_with_untracked_file.go @@ -21,7 +21,7 @@ var DirWithUntrackedFile = NewIntegrationTest(NewIntegrationTestArgs{ shell.CreateFile("dir/untracked", "bar") shell.UpdateFile("dir/file", "baz") }, - Run: func(shell *Shell, t *TestDriver, keys config.KeybindingConfig) { + Run: func(t *TestDriver, keys config.KeybindingConfig) { t.Model().CommitCount(1) t.Views().Main(). diff --git a/pkg/integration/tests/file/discard_changes.go b/pkg/integration/tests/file/discard_changes.go index 785d8558e..ab08ff9b9 100644 --- a/pkg/integration/tests/file/discard_changes.go +++ b/pkg/integration/tests/file/discard_changes.go @@ -71,7 +71,7 @@ var DiscardChanges = NewIntegrationTest(NewIntegrationTestArgs{ shell.RunShellCommand(`echo "renamed\nhaha" > renamed2.txt && git add renamed2.txt`) }, - Run: func(shell *Shell, t *TestDriver, keys config.KeybindingConfig) { + Run: func(t *TestDriver, keys config.KeybindingConfig) { t.Model().CommitCount(3) type statusFile struct { |