MCPcopy Create free account
hub / github.com/JanSmrcka/differ / TestRenderNewFileSplit_ContainsSeparator

Function TestRenderNewFileSplit_ContainsSeparator

internal/ui/diff_test.go:147–153  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

145}
146
147func TestRenderNewFileSplit_ContainsSeparator(t *testing.T) {
148 styles, th := testStyles()
149 result := RenderNewFileSplit("line1\nline2", "test.go", styles, th, 100)
150 if !strings.Contains(result, "│") {
151 t.Error("split new file should contain │ separator")
152 }
153}
154
155func TestRenderSplitSide_Nil(t *testing.T) {
156 styles, th := testStyles()

Callers

nothing calls this directly

Calls 2

testStylesFunction · 0.85
RenderNewFileSplitFunction · 0.85

Tested by

no test coverage detected