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

Function TestBug19872UndoIsFunky

internal/buffer/buffer_generated_test.go:202–235  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

200}
201
202func TestBug19872UndoIsFunky(t *testing.T) {
203 check(
204 t,
205 []string{
206 "something",
207 " A",
208 "",
209 " B",
210 "something else",
211 },
212 []operation{
213 {
214 start: Loc{0, 1},
215 end: Loc{1, 1},
216 text: []string{
217 "",
218 },
219 },
220 {
221 start: Loc{0, 2},
222 end: Loc{1, 3},
223 text: []string{
224 "",
225 },
226 },
227 },
228 []string{
229 "something",
230 "A",
231 "B",
232 "something else",
233 },
234 )
235}
236
237func TestBug19872UndoIsFunky_2(t *testing.T) {
238 check(

Callers

nothing calls this directly

Calls 1

checkFunction · 0.70

Tested by

no test coverage detected