mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-31 14:24:25 +03:00
Fix checking out a tag when a branch with the same name exists
This commit is contained in:
@ -26,13 +26,9 @@ var CheckoutWhenBranchWithSameNameExists = NewIntegrationTest(NewIntegrationTest
|
||||
PressPrimaryAction() // checkout tag
|
||||
|
||||
t.Views().Branches().IsFocused().Lines(
|
||||
/* EXPECTED:
|
||||
Contains("HEAD detached at tag").IsSelected(),
|
||||
Contains("master"),
|
||||
Contains("tag"),
|
||||
ACTUAL: */
|
||||
Contains("* tag").DoesNotContain("HEAD detached").IsSelected(),
|
||||
Contains("master"),
|
||||
)
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user