--- Render functions ---
(t *testing.T)
| 392 | // --- Render functions --- |
| 393 | |
| 394 | func TestRenderBinaryFile(t *testing.T) { |
| 395 | t.Parallel() |
| 396 | styles, _ := testStyles() |
| 397 | result := RenderBinaryFile(styles, 80) |
| 398 | if !strings.Contains(result, "Binary") { |
| 399 | t.Error("should contain 'Binary'") |
| 400 | } |
| 401 | } |
| 402 | |
| 403 | func TestRenderDiff_Basic(t *testing.T) { |
| 404 | t.Parallel() |
nothing calls this directly
no test coverage detected