From 6eba26ae28dc409afc077368ba25a519359a526d Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Wed, 4 Dec 2024 16:47:44 -0300 Subject: [PATCH] fix: test Signed-off-by: Carlos Alexandro Becker --- list/list_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/list/list_test.go b/list/list_test.go index 2627e5b..d6b7cb0 100644 --- a/list/list_test.go +++ b/list/list_test.go @@ -55,6 +55,7 @@ func TestStatusBarWithoutItems(t *testing.T) { func TestCustomStatusBarItemName(t *testing.T) { list := New([]Item{item("foo"), item("bar")}, itemDelegate{}, 10, 10) list.SetStatusBarItemName("connection", "connections") + list.Styles.StatusEmpty = list.Styles.StatusEmpty.SetString("No connections.") expected := "2 connections" if !strings.Contains(list.statusView(), expected) {