MCPcopy
hub / github.com/pterm/pterm / TestPrefixPrinter_PrintlnWithDebugger

Function TestPrefixPrinter_PrintlnWithDebugger

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

Source from the content-addressed store, hash-verified

250}
251
252func TestPrefixPrinter_PrintlnWithDebugger(t *testing.T) {
253 for _, p := range prefixPrinters {
254 t.Run("", func(t *testing.T) {
255 p2 := p.WithDebugger()
256 pterm.EnableDebugMessages()
257 testPrintlnContains(t, func(w io.Writer, a any) {
258 p2.WithWriter(w).Println(a)
259 })
260 })
261 }
262}
263
264func TestPrefixPrinter_PrintfWithDebugger(t *testing.T) {
265 for _, p := range prefixPrinters {

Callers

nothing calls this directly

Calls 5

EnableDebugMessagesFunction · 0.92
testPrintlnContainsFunction · 0.85
WithDebuggerMethod · 0.80
PrintlnMethod · 0.65
WithWriterMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…