diff options
Diffstat (limited to 'pkg/gui/presentation/commits_test.go')
-rw-r--r-- | pkg/gui/presentation/commits_test.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkg/gui/presentation/commits_test.go b/pkg/gui/presentation/commits_test.go index b7fd23468..846d50d19 100644 --- a/pkg/gui/presentation/commits_test.go +++ b/pkg/gui/presentation/commits_test.go @@ -5,6 +5,7 @@ import ( "testing" "github.com/gookit/color" + "github.com/jesseduffield/generics/set" "github.com/jesseduffield/lazygit/pkg/commands/git_commands" "github.com/jesseduffield/lazygit/pkg/commands/models" "github.com/jesseduffield/lazygit/pkg/utils" @@ -25,7 +26,7 @@ func TestGetCommitListDisplayStrings(t *testing.T) { testName string commits []*models.Commit fullDescription bool - cherryPickedCommitShaMap map[string]bool + cherryPickedCommitShaSet *set.Set[string] diffName string parseEmoji bool selectedCommitSha string @@ -209,7 +210,7 @@ func TestGetCommitListDisplayStrings(t *testing.T) { result := GetCommitListDisplayStrings( s.commits, s.fullDescription, - s.cherryPickedCommitShaMap, + s.cherryPickedCommitShaSet, s.diffName, s.parseEmoji, s.selectedCommitSha, |