(t *testing.T)
| 183 | } |
| 184 | |
| 185 | func TestDisableColor(t *testing.T) { |
| 186 | pterm.DisableColor() |
| 187 | testza.AssertFalse(t, color.Enable) |
| 188 | testza.AssertFalse(t, pterm.PrintColor) |
| 189 | } |
| 190 | |
| 191 | func TestDisabledColorDoesPrintPlainString(t *testing.T) { |
| 192 | pterm.DisableColor() |
nothing calls this directly
no test coverage detected
searching dependent graphs…