mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-11-29 16:03:07 +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,7 +42,8 @@ var Checkout = NewIntegrationTest(NewIntegrationTestArgs{
|
|||||||
Tooltip(Contains("Disabled: No branches found at selected commit.")).
|
Tooltip(Contains("Disabled: No branches found at selected commit.")).
|
||||||
Select(MatchesRegexp("Checkout commit [a-f0-9]+ as detached head")).
|
Select(MatchesRegexp("Checkout commit [a-f0-9]+ as detached head")).
|
||||||
Confirm()
|
Confirm()
|
||||||
t.Views().Branches().Lines(
|
t.Views().Branches().
|
||||||
|
Lines(
|
||||||
Contains("* (HEAD detached at"),
|
Contains("* (HEAD detached at"),
|
||||||
Contains("branch1"),
|
Contains("branch1"),
|
||||||
Contains("branch2"),
|
Contains("branch2"),
|
||||||
@@ -63,7 +64,8 @@ var Checkout = NewIntegrationTest(NewIntegrationTestArgs{
|
|||||||
).
|
).
|
||||||
Select(Contains("Checkout branch 'master'")).
|
Select(Contains("Checkout branch 'master'")).
|
||||||
Confirm()
|
Confirm()
|
||||||
t.Views().Branches().Lines(
|
t.Views().Branches().
|
||||||
|
Lines(
|
||||||
Contains("master"),
|
Contains("master"),
|
||||||
Contains("branch1"),
|
Contains("branch1"),
|
||||||
Contains("branch2"),
|
Contains("branch2"),
|
||||||
|
|||||||
Reference in New Issue
Block a user