Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
55
func
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
Bytes
Method · 0.80
remove
Method · 0.45
Tested by
no test coverage detected