summaryrefslogtreecommitdiffstats
path: root/pkg/integration/tests/branch/suggestions.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/integration/tests/branch/suggestions.go')
-rw-r--r--pkg/integration/tests/branch/suggestions.go8
1 files changed, 4 insertions, 4 deletions
diff --git a/pkg/integration/tests/branch/suggestions.go b/pkg/integration/tests/branch/suggestions.go
index 9999947d9..438bbf9be 100644
--- a/pkg/integration/tests/branch/suggestions.go
+++ b/pkg/integration/tests/branch/suggestions.go
@@ -20,20 +20,20 @@ var Suggestions = NewIntegrationTest(NewIntegrationTestArgs{
NewBranch("other-new-branch-2").
NewBranch("other-new-branch-3")
},
- Run: func(shell *Shell, input *Input, keys config.KeybindingConfig) {
- input.Views().Branches().
+ Run: func(shell *Shell, t *TestDriver, keys config.KeybindingConfig) {
+ t.Views().Branches().
Focus().
Press(keys.Branches.CheckoutBranchByName)
// we expect the first suggestion to be the branch we want because it most
// closely matches what we typed in
- input.ExpectPrompt().
+ t.ExpectPrompt().
Title(Equals("Branch name:")).
Type("branch-to").
SuggestionTopLines(Contains("branch-to-checkout")).
SelectFirstSuggestion().
Confirm()
- input.Model().CurrentBranchName("branch-to-checkout")
+ t.Model().CurrentBranchName("branch-to-checkout")
},
})