MCPcopy
hub / github.com/pterm/pterm / TestPrefixPrinter_SprintfWithoutDebugger

Function TestPrefixPrinter_SprintfWithoutDebugger

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

Source from the content-addressed store, hash-verified

381}
382
383func TestPrefixPrinter_SprintfWithoutDebugger(t *testing.T) {
384 for _, p := range prefixPrinters {
385 t.Run("", func(t *testing.T) {
386 p2 := p.WithDebugger()
387 pterm.DisableDebugMessages()
388 testEmpty(t, func(a any) string {
389 return p2.Sprintf("Hello, %s!", a)
390 })
391 })
392 }
393}
394
395func TestPrefixPrinter_SprintflnWithoutDebugger(t *testing.T) {
396 for _, p := range prefixPrinters {

Callers

nothing calls this directly

Calls 4

DisableDebugMessagesFunction · 0.92
testEmptyFunction · 0.85
WithDebuggerMethod · 0.80
SprintfMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…