MCPcopy
hub / github.com/pterm/pterm / TestStyle_String

Function TestStyle_String

color_test.go:175–177  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

173}
174
175func TestStyle_String(t *testing.T) {
176 testza.AssertNotZero(t, pterm.NewStyle(pterm.FgRed, pterm.BgBlue, pterm.Bold).String())
177}
178
179func TestEnableColor(t *testing.T) {
180 pterm.EnableColor()

Callers

nothing calls this directly

Calls 2

NewStyleFunction · 0.92
StringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…