Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
175
func
TestStyle_String(t *testing.T) {
176
testza.AssertNotZero(t, pterm.NewStyle(pterm.FgRed, pterm.BgBlue, pterm.Bold).String())
177
}
178
179
func
TestEnableColor(t *testing.T) {
180
pterm.EnableColor()
Callers
nothing calls this directly
Calls
2
NewStyle
Function · 0.92
String
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…