mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-13 05:15:53 +02:00
add view asserter getter struct
This commit is contained in:
parent
b64f55518b
commit
be30cbb375
35 changed files with 184 additions and 174 deletions
|
@ -20,7 +20,7 @@ var NewBranch = NewIntegrationTest(NewIntegrationTestArgs{
|
|||
assert.CommitCount(3)
|
||||
|
||||
input.SwitchToCommitsView()
|
||||
assert.CurrentView().Lines(
|
||||
assert.Views().Current().Lines(
|
||||
Contains("commit 3"),
|
||||
Contains("commit 2"),
|
||||
Contains("commit 1"),
|
||||
|
@ -34,7 +34,7 @@ var NewBranch = NewIntegrationTest(NewIntegrationTestArgs{
|
|||
|
||||
assert.CurrentBranchName(branchName)
|
||||
|
||||
assert.View("commits").Lines(
|
||||
assert.Views().ByName("commits").Lines(
|
||||
Contains("commit 2"),
|
||||
Contains("commit 1"),
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue