1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-08-06 11:02:41 +03:00

Add assertion to show the problem

This commit is contained in:
Stefan Haller
2023-08-22 14:06:29 +02:00
parent fc6008fdff
commit 93d19db158

View File

@@ -44,7 +44,7 @@ var DropTodoCommitWithUpdateRef = NewIntegrationTest(NewIntegrationTestArgs{
Contains("pick").Contains("CI commit 05"), Contains("pick").Contains("CI commit 05"),
Contains("update-ref").Contains("branch1").DoesNotContain("*"), Contains("update-ref").Contains("branch1").DoesNotContain("*"),
Contains("pick").Contains("CI * commit 04"), Contains("pick").Contains("CI * commit 04"),
Contains("pick").Contains("CI commit 03"), Contains("pick").Contains("CI commit 03").IsSelected(), // wrong line selected
Contains("<-- YOU ARE HERE --- commit 02"), Contains("<-- YOU ARE HERE --- commit 02"),
Contains("CI commit 01"), Contains("CI commit 01"),
). ).