mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +02:00
better namespacing for assertions
This commit is contained in:
@ -48,7 +48,7 @@ var MenuFromCommand = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
assert *Assert,
|
||||
keys config.KeybindingConfig,
|
||||
) {
|
||||
assert.WorkingTreeFileCount(0)
|
||||
assert.Model().WorkingTreeFileCount(0)
|
||||
input.SwitchToBranchesView()
|
||||
|
||||
input.Press("a")
|
||||
@ -59,7 +59,7 @@ var MenuFromCommand = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
|
||||
input.SwitchToFilesView()
|
||||
|
||||
assert.WorkingTreeFileCount(1)
|
||||
assert.Model().WorkingTreeFileCount(1)
|
||||
assert.Views().Current().SelectedLine(Contains("output.txt"))
|
||||
assert.Views().Main().Content(Contains("bar Branch: #feature/foo my branch feature/foo"))
|
||||
},
|
||||
|
Reference in New Issue
Block a user