(t *testing.T)
| 153 | } |
| 154 | |
| 155 | func TestRenderSplitSide_Nil(t *testing.T) { |
| 156 | styles, th := testStyles() |
| 157 | result := renderSplitSide(nil, "test.go", styles, th, 40, true) |
| 158 | if len(result) == 0 { |
| 159 | t.Error("nil side should produce padding, not empty") |
| 160 | } |
| 161 | // Should be all spaces |
| 162 | if strings.TrimSpace(result) != "" { |
| 163 | t.Errorf("nil side should be blank, got %q", result) |
| 164 | } |
| 165 | } |
| 166 | |
| 167 | func TestRenderSplitSide_Added(t *testing.T) { |
| 168 | styles, th := testStyles() |
nothing calls this directly
no test coverage detected