mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-15 01:34:26 +02:00
allow checking if line is selected in Lines and TopLines methods
This commit is contained in:
@ -29,10 +29,9 @@ var Revert = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
|
||||
assert.CurrentView().Name("commits").
|
||||
Lines(
|
||||
Contains("Revert \"first commit\""),
|
||||
Contains("Revert \"first commit\"").IsSelected(),
|
||||
Contains("first commit"),
|
||||
).
|
||||
SelectedLineIdx(0)
|
||||
)
|
||||
|
||||
assert.MainView().Content(Contains("-myfile content"))
|
||||
assert.FileSystemPathNotPresent("myfile")
|
||||
|
Reference in New Issue
Block a user