(t *testing.T)
| 170 | } |
| 171 | |
| 172 | func TestFormatInfoMessage(t *testing.T) { |
| 173 | output := FormatInfoMessage("processing file") |
| 174 | if !strings.Contains(output, "processing file") { |
| 175 | t.Errorf("Expected output to contain message, got: %s", output) |
| 176 | } |
| 177 | if !strings.Contains(output, "i ") { |
| 178 | t.Errorf("Expected output to contain info icon, got: %s", output) |
| 179 | } |
| 180 | } |
| 181 | |
| 182 | func TestFormatWarningMessage(t *testing.T) { |
| 183 | output := FormatWarningMessage("deprecated syntax") |
nothing calls this directly
no test coverage detected