From 6c3671f8070c11b81f07d946321bb1dd1e428ff2 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Fri, 30 Dec 2022 22:47:56 +1100 Subject: [PATCH] appease linter --- pkg/integration/tests/filter_by_path/cli.go | 2 +- pkg/integration/tests/filter_by_path/select_file.go | 4 ++-- pkg/integration/tests/filter_by_path/type_file.go | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/integration/tests/filter_by_path/cli.go b/pkg/integration/tests/filter_by_path/cli.go index 12e9e91fa..0de95986e 100644 --- a/pkg/integration/tests/filter_by_path/cli.go +++ b/pkg/integration/tests/filter_by_path/cli.go @@ -15,6 +15,6 @@ var CliArg = NewIntegrationTest(NewIntegrationTestArgs{ commonSetup(shell) }, Run: func(t *TestDriver, keys config.KeybindingConfig) { - postFilterTest(t, keys) + postFilterTest(t) }, }) diff --git a/pkg/integration/tests/filter_by_path/select_file.go b/pkg/integration/tests/filter_by_path/select_file.go index a4183de87..6722958dd 100644 --- a/pkg/integration/tests/filter_by_path/select_file.go +++ b/pkg/integration/tests/filter_by_path/select_file.go @@ -34,7 +34,7 @@ var SelectFile = NewIntegrationTest(NewIntegrationTestArgs{ t.ExpectPopup().Menu().Title(Equals("Filtering")).Select(Contains("filter by 'filterFile'")).Confirm() - postFilterTest(t, keys) + postFilterTest(t) }, }) @@ -50,7 +50,7 @@ func commonSetup(shell *Shell) { shell.Commit("only filterFile") } -func postFilterTest(t *TestDriver, keys config.KeybindingConfig) { +func postFilterTest(t *TestDriver) { t.Views().Information().Content(Contains("filtering by 'filterFile'")) t.Views().Commits(). diff --git a/pkg/integration/tests/filter_by_path/type_file.go b/pkg/integration/tests/filter_by_path/type_file.go index 9461635c6..23ec0ff1d 100644 --- a/pkg/integration/tests/filter_by_path/type_file.go +++ b/pkg/integration/tests/filter_by_path/type_file.go @@ -30,6 +30,6 @@ var TypeFile = NewIntegrationTest(NewIntegrationTestArgs{ SuggestionLines(Equals("filterFile")). ConfirmFirstSuggestion() - postFilterTest(t, keys) + postFilterTest(t) }, })