mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-27 22:38:09 +02: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