mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-06-15 00:15:32 +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:
@ -53,15 +53,15 @@ var MenuFromCommandsOutput = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
input.PressKeys("a")
|
||||
|
||||
assert.InPrompt()
|
||||
assert.MatchCurrentViewTitle(Equals("Which git command do you want to run?"))
|
||||
assert.MatchSelectedLine(Equals("branch"))
|
||||
assert.CurrentViewTitle(Equals("Which git command do you want to run?"))
|
||||
assert.SelectedLine(Equals("branch"))
|
||||
input.Confirm()
|
||||
|
||||
assert.InMenu()
|
||||
assert.MatchCurrentViewTitle(Equals("Branch:"))
|
||||
assert.CurrentViewTitle(Equals("Branch:"))
|
||||
input.NextItem()
|
||||
input.NextItem()
|
||||
assert.MatchSelectedLine(Equals("master"))
|
||||
assert.SelectedLine(Equals("master"))
|
||||
input.Confirm()
|
||||
|
||||
assert.CurrentBranchName("master")
|
||||
|
Reference in New Issue
Block a user