MCPcopy
hub / github.com/pterm/pterm / TestPrefixPrinter_PrintWithoutDebugger

Function TestPrefixPrinter_PrintWithoutDebugger

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

Source from the content-addressed store, hash-verified

310}
311
312func TestPrefixPrinter_PrintWithoutDebugger(t *testing.T) {
313 for _, p := range prefixPrinters {
314 t.Run("", func(t *testing.T) {
315 p2 := p.WithDebugger()
316 pterm.DisableDebugMessages()
317 testDoesNotOutput(t, func(w io.Writer) {
318 p2.Print("Hello, World!")
319 })
320 })
321 }
322}
323
324func TestPrefixPrinter_PrintlnWithoutDebugger(t *testing.T) {
325 for _, p := range prefixPrinters {

Callers

nothing calls this directly

Calls 4

DisableDebugMessagesFunction · 0.92
testDoesNotOutputFunction · 0.85
WithDebuggerMethod · 0.80
PrintMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…