mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-12 21:05:48 +02:00
cleaner test assertions
This commit is contained in:
parent
fa0414777f
commit
9a6f21ce42
34 changed files with 442 additions and 378 deletions
|
@ -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"),
|
||||
)
|
||||
},
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue