From c841ba82377a06b1ee562c377c2c7ac9319aa6e5 Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Mon, 26 Dec 2022 16:49:54 +1100 Subject: add switch-to-view methods --- pkg/integration/tests/branch/delete.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pkg/integration/tests/branch/delete.go') 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`), -- cgit v1.2.3