(t *testing.T)
| 311 | } |
| 312 | |
| 313 | func TestParseDiff_BinaryFile(t *testing.T) { |
| 314 | t.Parallel() |
| 315 | raw := "Binary files a/img.png and b/img.png differ" |
| 316 | parsed := ParseDiff(raw) |
| 317 | if !parsed.Binary { |
| 318 | t.Error("should detect binary file") |
| 319 | } |
| 320 | } |
| 321 | |
| 322 | func TestParseDiff_MultipleHunks(t *testing.T) { |
| 323 | t.Parallel() |
nothing calls this directly
no test coverage detected