(t *testing.T)
| 262 | } |
| 263 | |
| 264 | func TestPrefixPrinter_PrintfWithDebugger(t *testing.T) { |
| 265 | for _, p := range prefixPrinters { |
| 266 | t.Run("", func(t *testing.T) { |
| 267 | p2 := p.WithDebugger() |
| 268 | pterm.EnableDebugMessages() |
| 269 | testPrintfContains(t, func(w io.Writer, format string, a any) { |
| 270 | p2.WithWriter(w).Printf(format, a) |
| 271 | }) |
| 272 | }) |
| 273 | } |
| 274 | } |
| 275 | |
| 276 | func TestPrefixPrinter_SprintWithDebugger(t *testing.T) { |
| 277 | for _, p := range prefixPrinters { |
nothing calls this directly
no test coverage detected
searching dependent graphs…