diff --git a/pkg/gui/presentation/branches_test.go b/pkg/gui/presentation/branches_test.go index d917846748c..02377e8bcfa 100644 --- a/pkg/gui/presentation/branches_test.go +++ b/pkg/gui/presentation/branches_test.go @@ -321,6 +321,7 @@ func Test_getBranchDisplayStrings(t *testing.T) { defer color.ForceSetColorLevel(oldColorLevel) c := utils.NewDummyCommon() + SetCustomBranches(c.UserConfig().Gui.BranchColorPatterns, true) for i, s := range scenarios { icons.SetNerdFontsVersion(lo.Ternary(s.useIcons, "3", ""))