lazygit/pkg
Stefan Haller 2ae1bea20a More explicit test of status panel content
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 efb51eee96, but from looking at that diff it seems it was added
  accidentally.
- there was a space at the beginning if the branch status was empty. This is
  actually a cosmetic problem, for branches without a status the text was
  indented by once space. Change this so that the space is added conditionally.
  It's a bit awkward that we have to use Decolorise here, but this will go away
  again later in this branch.
2024-05-19 17:23:07 +10:00
..
app Drop update-ref commands at the top of the rebase-todo file 2024-04-22 20:59:15 +02:00
cheatsheet Render keybinding cheatsheet as markdown table 2024-01-28 08:12:01 +11:00
commands Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00
common Add AppState to common.Common 2023-09-04 17:48:39 +02:00
config improve nvim-remote mode 2024-05-19 14:39:02 +10:00
constants Make the links in the status panel point to the current version rather than master 2024-03-22 08:13:59 +01:00
env Support bare worktrees where worktree does not have its own .git file 2023-08-07 22:40:53 +10:00
fakes
gui More explicit test of status panel content 2024-05-19 17:23:07 +10:00
i18n Show delete/edit keybindings in suggestions subtitle if available 2024-05-19 07:06:18 +02:00
integration More explicit test of status panel content 2024-05-19 17:23:07 +10:00
jsonschema Add UserConfig jsonschema generation script 2023-12-02 10:46:24 +01:00
logs Remove secureexec package 2023-07-30 19:59:51 +10:00
snake
tasks Use ScanLinesAndTruncateWhenLongerThanBuffer instead of bufio.ScanLines 2024-05-15 13:27:01 +02:00
theme pkg: fix some comment 2024-04-07 16:09:26 +08:00
updates
utils Remove redundant variable dedeclarations 2024-05-19 16:38:21 +10:00