MCPcopy
hub / github.com/pterm/pterm / TestPrefixPrinter_SprintWithoutDebugger

Function TestPrefixPrinter_SprintWithoutDebugger

prefix_printer_test.go:360–369  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

358}
359
360func TestPrefixPrinter_SprintWithoutDebugger(t *testing.T) {
361 for _, p := range prefixPrinters {
362 t.Run("", func(t *testing.T) {
363 p2 := p.WithDebugger()
364 testEmpty(t, func(a any) string {
365 return p2.Sprint(a)
366 })
367 })
368 }
369}
370
371func TestPrefixPrinter_SprintlnWithoutDebugger(t *testing.T) {
372 for _, p := range prefixPrinters {

Callers

nothing calls this directly

Calls 3

testEmptyFunction · 0.85
WithDebuggerMethod · 0.80
SprintMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…