mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-31 14:24:25 +03:00
refactor to not have Match at the start of assert method names, because it reads better that way
This commit is contained in:
@ -19,7 +19,7 @@ var ConfirmOnQuit = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
|
||||
input.PressKeys(keys.Universal.Quit)
|
||||
assert.InConfirm()
|
||||
assert.MatchCurrentViewContent(Contains("Are you sure you want to quit?"))
|
||||
assert.CurrentViewContent(Contains("Are you sure you want to quit?"))
|
||||
input.Confirm()
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user