mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +02:00
cleaner test assertions
This commit is contained in:
@ -30,7 +30,9 @@ var Basic = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
assert.WorkingTreeFileCount(0)
|
||||
|
||||
input.Press("a")
|
||||
assert.WorkingTreeFileCount(1)
|
||||
assert.CurrentLine(Contains("myfile"))
|
||||
|
||||
assert.View("files").Lines(
|
||||
Contains("myfile"),
|
||||
)
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user