mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 04:15:48 +02:00
better namespacing for assertions
This commit is contained in:
parent
be30cbb375
commit
09e80e5f2a
36 changed files with 328 additions and 294 deletions
|
@ -66,7 +66,7 @@ func TestAssertionFailure(t *testing.T) {
|
|||
Run: func(shell *Shell, input *Input, assert *Assert, keys config.KeybindingConfig) {
|
||||
input.Press("a")
|
||||
input.Press("b")
|
||||
assert.CommitCount(2)
|
||||
assert.Model().CommitCount(2)
|
||||
},
|
||||
})
|
||||
driver := &fakeGuiDriver{}
|
||||
|
@ -93,7 +93,7 @@ func TestSuccess(t *testing.T) {
|
|||
Run: func(shell *Shell, input *Input, assert *Assert, keys config.KeybindingConfig) {
|
||||
input.Press("a")
|
||||
input.Press("b")
|
||||
assert.CommitCount(0)
|
||||
assert.Model().CommitCount(0)
|
||||
},
|
||||
})
|
||||
driver := &fakeGuiDriver{}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue