1
0
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:
Jesse Duffield
2022-12-24 17:01:26 +11:00
parent c19f52255c
commit aedfce2845
36 changed files with 208 additions and 208 deletions

View File

@ -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")