MCPcopy
hub / github.com/pterm/pterm / TestPrefixPrinter_SprintlnWithoutDebugger

Function TestPrefixPrinter_SprintlnWithoutDebugger

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

Source from the content-addressed store, hash-verified

369}
370
371func TestPrefixPrinter_SprintlnWithoutDebugger(t *testing.T) {
372 for _, p := range prefixPrinters {
373 t.Run("", func(t *testing.T) {
374 p2 := p.WithDebugger()
375 pterm.DisableDebugMessages()
376 testEmpty(t, func(a any) string {
377 return p2.Sprintln(a)
378 })
379 })
380 }
381}
382
383func TestPrefixPrinter_SprintfWithoutDebugger(t *testing.T) {
384 for _, p := range prefixPrinters {

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…