(t *testing.T)
| 238 | } |
| 239 | |
| 240 | func TestPrefixPrinter_PrintWithDebugger(t *testing.T) { |
| 241 | for _, p := range prefixPrinters { |
| 242 | t.Run("", func(t *testing.T) { |
| 243 | p2 := p.WithDebugger() |
| 244 | pterm.EnableDebugMessages() |
| 245 | testPrintContains(t, func(w io.Writer, a any) { |
| 246 | p2.WithWriter(w).Print(a) |
| 247 | }) |
| 248 | }) |
| 249 | } |
| 250 | } |
| 251 | |
| 252 | func TestPrefixPrinter_PrintlnWithDebugger(t *testing.T) { |
| 253 | for _, p := range prefixPrinters { |
nothing calls this directly
no test coverage detected
searching dependent graphs…