返回 DeepSeek-Reasonix
style_profile_test.go
根目录 / internal / cli / style_profile_test.go
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
14 lines GO