MCPcopy
hub / github.com/pterm/pterm / TestPrefixPrinter_SprintlnWithDebugger

Function TestPrefixPrinter_SprintlnWithDebugger

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

Source from the content-addressed store, hash-verified

286}
287
288func TestPrefixPrinter_SprintlnWithDebugger(t *testing.T) {
289 for _, p := range prefixPrinters {
290 t.Run("", func(t *testing.T) {
291 p2 := p.WithDebugger()
292 pterm.EnableDebugMessages()
293 testSprintlnContains(t, func(a any) string {
294 return p2.Sprintln(a)
295 })
296 })
297 }
298}
299
300func TestPrefixPrinter_SprintfWithDebugger(t *testing.T) {
301 for _, p := range prefixPrinters {

Callers

nothing calls this directly

Calls 4

EnableDebugMessagesFunction · 0.92
testSprintlnContainsFunction · 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…