(t *testing.T)
| 181 | } |
| 182 | |
| 183 | func TestFormatHeading_Effort(t *testing.T) { |
| 184 | r := ansiRenderer() |
| 185 | |
| 186 | result := formatHeading("small", "effort", r) |
| 187 | if !strings.Contains(result, "small") { |
| 188 | t.Errorf("Expected 'small' in heading, got: %q", result) |
| 189 | } |
| 190 | if !strings.Contains(result, "\x1b[") { |
| 191 | t.Error("Expected ANSI codes in effort heading") |
| 192 | } |
| 193 | } |
nothing calls this directly
no test coverage detected