1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-06 22:33:07 +02:00

Add selection assertions to cherry-pick tests

We are about to change the selection behavior when cherry-picking, and it's good
to have tests that document in what way it changes in the next commit.
This commit is contained in:
Stefan Haller
2025-07-02 18:56:16 +02:00
parent 6479c52fb2
commit 09a4e0b209
4 changed files with 7 additions and 7 deletions

View File

@ -79,7 +79,7 @@ var CherryPickDuringRebase = NewIntegrationTest(NewIntegrationTestArgs{
Contains("--- Pending rebase todos ---"),
Contains("pick CI two"),
Contains("--- Commits ---"),
Contains(" CI three"),
Contains(" CI three").IsSelected(),
Contains(" CI one"),
Contains(" CI base"),
).
@ -88,7 +88,7 @@ var CherryPickDuringRebase = NewIntegrationTest(NewIntegrationTestArgs{
}).
Lines(
Contains("CI two"),
Contains("CI three"),
Contains("CI three").IsSelected(),
Contains("CI one"),
Contains("CI base"),
)