(t *testing.T)
| 136 | } |
| 137 | |
| 138 | func TestRenderSplitDiff_Binary(t *testing.T) { |
| 139 | parsed := ParsedDiff{Binary: true} |
| 140 | styles, th := testStyles() |
| 141 | result := RenderSplitDiff(parsed, "test.bin", styles, th, 100) |
| 142 | if !strings.Contains(result, "Binary") { |
| 143 | t.Error("binary file should show binary message") |
| 144 | } |
| 145 | } |
| 146 | |
| 147 | func TestRenderNewFileSplit_ContainsSeparator(t *testing.T) { |
| 148 | styles, th := testStyles() |
nothing calls this directly
no test coverage detected