(t *testing.T)
| 189 | } |
| 190 | |
| 191 | func TestPrefixPrinter_WithPrefix(t *testing.T) { |
| 192 | for _, p := range prefixPrinters { |
| 193 | t.Run("", func(t *testing.T) { |
| 194 | s := pterm.Prefix{ |
| 195 | Text: "test", |
| 196 | Style: pterm.NewStyle(pterm.FgRed, pterm.BgBlue, pterm.Bold), |
| 197 | } |
| 198 | p2 := p.WithPrefix(s) |
| 199 | |
| 200 | testza.AssertEqual(t, s, p2.Prefix) |
| 201 | }) |
| 202 | } |
| 203 | } |
| 204 | |
| 205 | func TestPrefixPrinter_WithScope(t *testing.T) { |
| 206 | for _, p := range prefixPrinters { |
nothing calls this directly
no test coverage detected
searching dependent graphs…