jesseduffield.lazygit/pkg/integration/tests/patch_building
Stefan Haller 0b5504aa98 Cleanup: make integration test assertions for files panel more specific
Assert the entire lines using Equals instead of Contains. This makes the tests a
bit easier to read, and it makes it much easier to decide how they need to be
changed when we change the layout (like we do in the last commit of this
branch).

It is true that this requires changing all these tests for any future UI
changes, but I think this is a good price to pay; those adaptions are trivial
and can be done without thinking.
2025-03-20 11:58:50 +01:00
..
apply.go Use sentence case everywhere 2023-05-25 23:52:19 +10:00
apply_in_reverse.go Cleanup: make integration test assertions for files panel more specific 2025-03-20 11:58:50 +01:00
apply_in_reverse_with_conflict.go Cleanup: make integration test assertions for files panel more specific 2025-03-20 11:58:50 +01:00
edit_line_in_patch_building_panel.go Adjust line number for working copy when editing a line 2025-01-07 17:46:51 +01:00
move_range_to_index.go Cleanup: make integration test assertions for files panel more specific 2025-03-20 11:58:50 +01:00
move_to_earlier_commit.go Cleanup: make integration test assertions for files panel more specific 2025-03-20 11:58:50 +01:00
move_to_earlier_commit_from_added_file.go Add test for moving a patch from an added file to an earlier commit 2024-06-23 12:40:31 +02:00
move_to_earlier_commit_no_keep_empty.go Cleanup: make integration test assertions for files panel more specific 2025-03-20 11:58:50 +01:00
move_to_index.go Use sentence case everywhere 2023-05-25 23:52:19 +10:00
move_to_index_from_added_file_with_conflict.go Fix custom patch operations on added files 2024-06-23 12:40:31 +02:00
move_to_index_part_of_adjacent_added_lines.go Bump gocui 2025-01-07 17:34:30 +01:00
move_to_index_partial.go Use sentence case everywhere 2023-05-25 23:52:19 +10:00
move_to_index_with_conflict.go Support range select for staging/discarding files 2024-01-25 11:34:59 +11:00
move_to_index_works_even_if_noprefix_is_set.go Add integration test 2024-02-18 15:24:09 +01:00
move_to_later_commit.go Cleanup: make integration test assertions for files panel more specific 2025-03-20 11:58:50 +01:00
move_to_later_commit_partial_hunk.go Remove unneccesary test actions 2024-06-23 12:40:31 +02:00
move_to_new_commit.go Prompt for commit message when moving a custom patch to a new commit 2023-07-23 13:55:48 +02:00
move_to_new_commit_from_added_file.go Fix custom patch operations on added files 2024-06-23 12:40:31 +02:00
move_to_new_commit_from_deleted_file.go Add test for moving a patch from a deleted file to a new commit 2024-06-23 12:40:31 +02:00
move_to_new_commit_partial_hunk.go Remove unneccesary test actions 2024-06-23 12:40:31 +02:00
remove_from_commit.go Use sentence case everywhere 2023-05-25 23:52:19 +10:00
remove_parts_of_added_file.go Fix custom patch operations on added files 2024-06-23 12:40:31 +02:00
reset_with_escape.go Use sentence case everywhere 2023-05-25 23:52:19 +10:00
select_all_files.go Cleanup: make integration test assertions for files panel more specific 2025-03-20 11:58:50 +01:00
specific_selection.go Fix custom patch operations on added files 2024-06-23 12:40:31 +02:00
start_new_patch.go Use sentence case everywhere 2023-05-25 23:52:19 +10:00
toggle_range.go Cleanup: make integration test assertions for files panel more specific 2025-03-20 11:58:50 +01:00