mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
Some tests assert that a specific commit subject does or doesn't occur
in the main view; interactive_rebase/outside_rebase_range_select.go is
an example for this, it asserts `t.Views().Main().Content(
DoesNotContain("commit 06"))`. The problem with this kind of assertion
and our test commit naming scheme is that the diff view begins with a
"commit <hash>" line, and when that hash happens to start with "06" the
assertion matched it and failed spuriously. This was usually masked by
our MaxAttempts=2 that we currently use for integration tests (it's
quite unlikely that the commit gets a hash beginning with "06" twice in
a row). However, we want to get to a state where we can set MaxAttempts
to 1, so make this more robust by changing our naming scheme.
|
||
|---|---|---|
| .. | ||
| access_commit_properties.go | ||
| basic_command.go | ||
| check_for_conflicts.go | ||
| conditional_prompt_false_string.go | ||
| conditional_prompt_false_value.go | ||
| conditional_prompts.go | ||
| custom_commands_submenu.go | ||
| custom_commands_submenu_with_special_keybindings.go | ||
| form_prompts.go | ||
| global_context.go | ||
| menu_from_command.go | ||
| menu_from_commands_output.go | ||
| menu_prompt_with_keys.go | ||
| multiple_contexts.go | ||
| multiple_prompts.go | ||
| run_command.go | ||
| selected_commit.go | ||
| selected_commit_range.go | ||
| selected_path.go | ||
| selected_submodule.go | ||
| show_output_in_panel.go | ||
| suggestions_command.go | ||
| suggestions_preset.go | ||