mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 23:56:24 -04:00
Use Equals instead of Contains for asserting the status view content. This
solves the problem that we might assert Contains("↓2 repo"), but what it really
shows is "↑1↓2 repo", and the test still succeeds. At best this is confusing.
Also, this way we don't have to use the awkward DoesNotContain to check that it
really doesn't show a checkmark.
To do this, we need to fix two whitespace problems:
- there was always a space at the end for no reason. Simply remove it. It was
added in
|
||
|---|---|---|
| .. | ||
| fetch_prune.go | ||
| fetch_when_sorted_by_date.go | ||
| force_push.go | ||
| force_push_multiple_matching.go | ||
| force_push_multiple_upstream.go | ||
| force_push_remote_branch_not_stored_locally.go | ||
| force_push_triangular.go | ||
| pull.go | ||
| pull_and_set_upstream.go | ||
| pull_merge.go | ||
| pull_merge_conflict.go | ||
| pull_rebase.go | ||
| pull_rebase_conflict.go | ||
| pull_rebase_interactive_conflict.go | ||
| pull_rebase_interactive_conflict_drop.go | ||
| push.go | ||
| push_and_auto_set_upstream.go | ||
| push_and_set_upstream.go | ||
| push_follow_tags.go | ||
| push_no_follow_tags.go | ||
| push_tag.go | ||
| push_with_credential_prompt.go | ||
| rename_branch_and_pull.go | ||
| shared.go | ||