1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-07-30 03:23:08 +03:00

allow checking if line is selected in Lines and TopLines methods

This commit is contained in:
Jesse Duffield
2022-12-26 17:37:41 +11:00
parent 96310288ee
commit 09db4c4397
7 changed files with 68 additions and 53 deletions

View File

@ -36,8 +36,7 @@ var Delete = NewIntegrationTest(NewIntegrationTestArgs{
assert.CurrentView().Name("localBranches").
Lines(
MatchesRegexp(`\*.*branch-two`),
MatchesRegexp(`master`),
).
SelectedLineIdx(1)
MatchesRegexp(`master`).IsSelected(),
)
},
})