summaryrefslogtreecommitdiffstats
path: root/pkg/integration/tests/branch/delete.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-12-26 16:49:54 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-12-26 16:49:54 +1100
commitc841ba82377a06b1ee562c377c2c7ac9319aa6e5 (patch)
tree83a02f84935fc416eeb1e2c452aeffe316ee1c6d /pkg/integration/tests/branch/delete.go
parent9a6f21ce429fedd949fdf9853c6ebf4892f858fd (diff)
add switch-to-view methods
Diffstat (limited to 'pkg/integration/tests/branch/delete.go')
-rw-r--r--pkg/integration/tests/branch/delete.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/integration/tests/branch/delete.go b/pkg/integration/tests/branch/delete.go
index a873ebaef..c90458546 100644
--- a/pkg/integration/tests/branch/delete.go
+++ b/pkg/integration/tests/branch/delete.go
@@ -17,9 +17,9 @@ var Delete = NewIntegrationTest(NewIntegrationTestArgs{
NewBranch("branch-two")
},
Run: func(shell *Shell, input *Input, assert *Assert, keys config.KeybindingConfig) {
- input.SwitchToBranchesWindow()
+ input.SwitchToBranchesView()
- assert.CurrentView().Name("localBranches").Lines(
+ assert.CurrentView().Lines(
MatchesRegexp(`\*.*branch-two`),
MatchesRegexp(`branch-one`),
MatchesRegexp(`master`),