(t *testing.T)
| 298 | } |
| 299 | |
| 300 | func TestPrefixPrinter_SprintfWithDebugger(t *testing.T) { |
| 301 | for _, p := range prefixPrinters { |
| 302 | t.Run("", func(t *testing.T) { |
| 303 | p2 := p.WithDebugger() |
| 304 | pterm.EnableDebugMessages() |
| 305 | testSprintfContains(t, func(format string, a any) string { |
| 306 | return p2.Sprintf(format, a) |
| 307 | }) |
| 308 | }) |
| 309 | } |
| 310 | } |
| 311 | |
| 312 | func TestPrefixPrinter_PrintWithoutDebugger(t *testing.T) { |
| 313 | for _, p := range prefixPrinters { |
nothing calls this directly
no test coverage detected
searching dependent graphs…