| 1 | package cli |
| 2 | |
| 3 | import ( |
| 4 | "testing" |
| 5 | |
| 6 | "github.com/charmbracelet/colorprofile" |
| 7 | ) |
| 8 | |
| 9 | func TestDetectColorProfileWithoutANSIConsole(t *testing.T) { |
| 10 | if got := detectColorProfile(false); got != colorprofile.ASCII { |
| 11 | t.Fatalf("console without VT processing must render plain, got %v", got) |
| 12 | } |
| 13 | } |
| 14 |