mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-28 04:23:58 +03:00
Cleanup: reformat
We usually put Lines() on a line by itself, and it makes the diff of the next commit much easier to read.
This commit is contained in:
@@ -42,12 +42,13 @@ var Checkout = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
Tooltip(Contains("Disabled: No branches found at selected commit.")).
|
||||
Select(MatchesRegexp("Checkout commit [a-f0-9]+ as detached head")).
|
||||
Confirm()
|
||||
t.Views().Branches().Lines(
|
||||
Contains("* (HEAD detached at"),
|
||||
Contains("branch1"),
|
||||
Contains("branch2"),
|
||||
Contains("master"),
|
||||
)
|
||||
t.Views().Branches().
|
||||
Lines(
|
||||
Contains("* (HEAD detached at"),
|
||||
Contains("branch1"),
|
||||
Contains("branch2"),
|
||||
Contains("master"),
|
||||
)
|
||||
|
||||
t.Views().Commits().
|
||||
NavigateToLine(Contains("two")).
|
||||
@@ -63,10 +64,11 @@ var Checkout = NewIntegrationTest(NewIntegrationTestArgs{
|
||||
).
|
||||
Select(Contains("Checkout branch 'master'")).
|
||||
Confirm()
|
||||
t.Views().Branches().Lines(
|
||||
Contains("master"),
|
||||
Contains("branch1"),
|
||||
Contains("branch2"),
|
||||
)
|
||||
t.Views().Branches().
|
||||
Lines(
|
||||
Contains("master"),
|
||||
Contains("branch1"),
|
||||
Contains("branch2"),
|
||||
)
|
||||
},
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user