1
0
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:
Stefan Haller 2023-03-03 15:44:11 +01:00
parent 41b00c8313
commit cddf056f4d

View File

@ -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(