MCPcopy
hub / github.com/micro-editor/micro / TestRemove

Function TestRemove

internal/buffer/line_array_test.go:55–61  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

53}
54
55func TestRemove(t *testing.T) {
56 la.remove(Loc{20, 3}, Loc{27, 3})
57 la.remove(Loc{25, 2}, Loc{30, 2})
58
59 bytes := la.Bytes()
60 assert.Equal(t, unicode_txt, string(bytes))
61}

Callers

nothing calls this directly

Calls 2

BytesMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected