Skip to content

Commit

Permalink
test: fix test assertion for groups with no holdings
Browse files Browse the repository at this point in the history
  • Loading branch information
achannarasappa committed Dec 27, 2024
1 parent d19f2de commit 6309f2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ui/component/summary/summary_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")))
})
Expand Down

0 comments on commit 6309f2b

Please sign in to comment.