Skip to content

Commit

Permalink
SetColorProfile in TestTextValueStyles
Browse files Browse the repository at this point in the history
  • Loading branch information
dezren39 committed Nov 1, 2023
1 parent 7472e59 commit e0db67e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions text_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,8 @@ func TestTextFatal(t *testing.T) {
func TestTextValueStyles(t *testing.T) {
var buf bytes.Buffer
logger := New(&buf)
logger.SetColorProfile(termenv.TrueColor)

oldValueStyle := ValueStyle
defer func() { ValueStyle = oldValueStyle }()
ValueStyle = lipgloss.NewStyle().Bold(true)
Expand Down

0 comments on commit e0db67e

Please sign in to comment.