MCPcopy Index your code
hub / github.com/pterm/pterm / TestStyle_Code

Function TestStyle_Code

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

Source from the content-addressed store, hash-verified

169}
170
171func TestStyle_Code(t *testing.T) {
172 testza.AssertNotZero(t, pterm.NewStyle(pterm.FgRed, pterm.BgBlue, pterm.Bold).Code())
173}
174
175func TestStyle_String(t *testing.T) {
176 testza.AssertNotZero(t, pterm.NewStyle(pterm.FgRed, pterm.BgBlue, pterm.Bold).String())

Callers

nothing calls this directly

Calls 2

NewStyleFunction · 0.92
CodeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…