From 6309f2b29a73cec7b0ad33c83a3e064587e6279b Mon Sep 17 00:00:00 2001 From: Ani Channarasappa Date: Fri, 27 Dec 2024 02:01:39 -0500 Subject: [PATCH] test: fix test assertion for groups with no holdings --- internal/ui/component/summary/summary_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/ui/component/summary/summary_test.go b/internal/ui/component/summary/summary_test.go index 396d70e..84b1333 100644 --- a/internal/ui/component/summary/summary_test.go +++ b/internal/ui/component/summary/summary_test.go @@ -78,7 +78,7 @@ var _ = Describe("Summary", func() { It("should render an empty summary", func() { m := NewModel(ctxFixture) Expect(removeFormatting(m.View())).To(Equal(strings.Join([]string{ - "Day Change: 0.00 (0.00%) • Change: 0.00 (0.00%) • Value: • Cost: ", + "Day Change: 0.00 (0.00%) • Change: 0.00 (0.00%) • Value: 0.00 • Cost: 0.00 ", "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━", }, "\n"))) })