MCPcopy
hub / github.com/pterm/pterm / TestPrefixPrinter_PrintflnWithoutDebugger

Function TestPrefixPrinter_PrintflnWithoutDebugger

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

Source from the content-addressed store, hash-verified

346}
347
348func TestPrefixPrinter_PrintflnWithoutDebugger(t *testing.T) {
349 for _, p := range prefixPrinters {
350 t.Run("", func(t *testing.T) {
351 p2 := p.WithDebugger()
352 pterm.DisableDebugMessages()
353 testDoesNotOutput(t, func(w io.Writer) {
354 p2.Printfln("Hello, World!")
355 })
356 })
357 }
358}
359
360func TestPrefixPrinter_SprintWithoutDebugger(t *testing.T) {
361 for _, p := range prefixPrinters {

Callers

nothing calls this directly

Calls 4

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

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…