chore(tests): update golden files for status

Christian Rocha created

Change summary

CRUSH.md                                                                          | 2 
internal/tui/components/core/status_test.go                                       | 3 
internal/tui/components/core/testdata/TestStatus/AllFieldsWithExtraContent.golden | 2 
internal/tui/components/core/testdata/TestStatus/Default.golden                   | 2 
internal/tui/components/core/testdata/TestStatus/EmptyDescription.golden          | 2 
internal/tui/components/core/testdata/TestStatus/LongDescription.golden           | 2 
internal/tui/components/core/testdata/TestStatus/NarrowWidth.golden               | 2 
internal/tui/components/core/testdata/TestStatus/VeryNarrowWidth.golden           | 2 
internal/tui/components/core/testdata/TestStatus/WithColors.golden                | 2 
internal/tui/components/core/testdata/TestStatus/WithCustomIcon.golden            | 2 
internal/tui/components/core/testdata/TestStatus/WithExtraContent.golden          | 2 
internal/tui/components/core/testdata/TestStatusTruncation/Width20.golden         | 2 
internal/tui/components/core/testdata/TestStatusTruncation/Width30.golden         | 2 
internal/tui/components/core/testdata/TestStatusTruncation/Width40.golden         | 2 
internal/tui/components/core/testdata/TestStatusTruncation/Width50.golden         | 2 
internal/tui/components/core/testdata/TestStatusTruncation/Width60.golden         | 2 
16 files changed, 16 insertions(+), 17 deletions(-)

Detailed changes

CRUSH.md πŸ”—

@@ -4,6 +4,8 @@
 
 - **Build**: `go build .` or `go run .`
 - **Test**: `task test` or `go test ./...` (run single test: `go test ./internal/llm/prompt -run TestGetContextFromPaths`)
+- **Update Golden Files**: `go test ./... -update` (regenerates .golden files when test output changes)
+  - Update specific package: `go test ./internal/tui/components/core -update` (in this case, we're updating "core")
 - **Lint**: `task lint-fix`
 - **Format**: `task fmt` (gofumpt -w .)
 - **Dev**: `task dev` (runs with profiling enabled)

internal/tui/components/core/status_test.go πŸ”—

@@ -37,7 +37,6 @@ func TestStatus(t *testing.T) {
 		{
 			name: "NoIcon",
 			opts: core.StatusOpts{
-				NoIcon:      true,
 				Title:       "Info",
 				Description: "This status has no icon",
 			},
@@ -47,7 +46,6 @@ func TestStatus(t *testing.T) {
 			name: "WithColors",
 			opts: core.StatusOpts{
 				Icon:             "⚠",
-				IconColor:        color.RGBA{255, 165, 0, 255}, // Orange
 				Title:            "Warning",
 				TitleColor:       color.RGBA{255, 255, 0, 255}, // Yellow
 				Description:      "This is a warning message",
@@ -102,7 +100,6 @@ func TestStatus(t *testing.T) {
 			name: "AllFieldsWithExtraContent",
 			opts: core.StatusOpts{
 				Icon:             "πŸš€",
-				IconColor:        color.RGBA{0, 255, 0, 255}, // Green
 				Title:            "Deployment",
 				TitleColor:       color.RGBA{0, 0, 255, 255}, // Blue
 				Description:      "Deploying to production environment",