mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-08-13 20:04:25 +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:
@@ -34,7 +34,7 @@ var Suggestions = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
|
||||
// we expect the first suggestion to be the branch we want because it most
|
||||
// closely matches what we typed in
|
||||
assert.MatchSelectedLine(Contains("branch-to-checkout"))
|
||||
assert.SelectedLine(Contains("branch-to-checkout"))
|
||||
input.Confirm()
|
||||
|
||||
assert.CurrentBranchName("branch-to-checkout")
|
||||
|
Reference in New Issue
Block a user