(t *testing.T)
| 246 | } |
| 247 | |
| 248 | func TestAnalyzeImpactEmpty(t *testing.T) { |
| 249 | // Test with empty changed files |
| 250 | impacts := AnalyzeImpact(".", nil) |
| 251 | if impacts != nil { |
| 252 | t.Errorf("Expected nil impacts for empty input, got %v", impacts) |
| 253 | } |
| 254 | |
| 255 | impacts = AnalyzeImpact(".", []FileInfo{}) |
| 256 | if impacts != nil { |
| 257 | t.Errorf("Expected nil impacts for empty slice, got %v", impacts) |
| 258 | } |
| 259 | } |
nothing calls this directly
no test coverage detected