mirror of
https://github.com/jesseduffield/lazygit.git
synced 2024-12-12 11:15:00 +02:00
Extend test to expect what commits we want to be listed when there's a conflict
This commit is contained in:
parent
41b00c8313
commit
cddf056f4d
@ -7,6 +7,13 @@ import (
|
||||
func handleConflictsFromSwap(t *TestDriver) {
|
||||
t.Common().AcknowledgeConflicts()
|
||||
|
||||
t.Views().Commits().
|
||||
Lines(
|
||||
Contains("pick").Contains("commit two"),
|
||||
// Would be nice to see "three" here, it's the one that conflicted
|
||||
Contains("<-- YOU ARE HERE --- commit one"),
|
||||
)
|
||||
|
||||
t.Views().Files().
|
||||
IsFocused().
|
||||
Lines(
|
||||
|
Loading…
Reference in New Issue
Block a user