(t *testing.T)
| 220 | } |
| 221 | |
| 222 | func TestGitDiffInfoInvalidRef(t *testing.T) { |
| 223 | tmpDir := setupGitRepo(t) |
| 224 | |
| 225 | // Try to diff against nonexistent ref |
| 226 | _, err := GitDiffInfo(tmpDir, "nonexistent-branch-xyz") |
| 227 | if err == nil { |
| 228 | // It's okay if this returns empty results instead of error |
| 229 | // but we're checking it doesn't panic |
| 230 | } |
| 231 | } |
| 232 | |
| 233 | func TestImpactInfo(t *testing.T) { |
| 234 | // Test ImpactInfo struct |
nothing calls this directly
no test coverage detected