jesseduffield.lazygit/pkg/gui/presentation
Stefan Haller c59e6b6451 Cleanup: don't mess with globals in tests without resetting them
Changing globals in the init() function of a test file is a bad idea, as it
affects all other tests that run after it. Do it explicitly in each test
function that needs it, and take care of restoring the previous value
afterwards.
2024-03-29 10:55:33 +01:00
..
authors Right-align key labels in menu 2023-05-21 12:09:43 +10:00
graph Cleanup: don't mess with globals in tests without resetting them 2024-03-29 10:55:33 +01:00
icons create iconProperties struct and convert iconMaps to use iconProperties 2023-10-18 21:21:36 +11:00
branches.go Don't try to shorten branch names that are already 3 characters or less 2024-01-15 13:27:49 +01:00
branches_test.go Cleanup: don't mess with globals in tests without resetting them 2024-03-29 10:55:33 +01:00
commits.go Store full ref in Name field of update-ref commits 2024-03-16 15:48:34 +01:00
commits_test.go Cleanup: don't mess with globals in tests without resetting them 2024-03-29 10:55:33 +01:00
files.go Add config setting to suppress showing file icons 2024-01-22 08:40:03 +01:00
files_test.go Cleanup: don't mess with globals in tests without resetting them 2024-03-29 10:55:33 +01:00
item_operations.go Show inline waiting status when checking out a local branch 2024-03-17 07:53:38 +01:00
reflog_commits.go Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00
remote_branches.go Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00
remotes.go Use inline status for fetching remotes 2024-01-26 08:29:04 +01:00
stash_entries.go feat: add age on stash lines 2023-12-27 11:21:49 +01:00
status.go Add inline status for pushing/pulling/fast-forwarding branches 2023-10-08 18:45:36 +02:00
submodules.go Show all submodules recursively 2024-03-07 20:16:28 +01:00
suggestions.go Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00
tags.go Fall back to WithWaitingStatus if view showing the item is not visible 2023-12-10 15:57:51 +01:00
working_tree.go Use sentence case everywhere 2023-05-25 23:52:19 +10:00
worktrees.go Use fields rather than methods on worktrees 2023-07-30 18:35:24 +10:00