Skip to content

Commit

Permalink
Add absOffset parameter to IndexTreeNode.split
Browse files Browse the repository at this point in the history
  • Loading branch information
MoonGyu1 committed Aug 10, 2023
1 parent 4eb495c commit 32974ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/document/crdt/tree_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ func TestTreeNode(t *testing.T) {

left, err := para.Child(0)
assert.NoError(t, err)
right, err := left.Split(5)
right, err := left.Split(5, 0)
assert.NoError(t, err)
assert.Equal(t, "<p>helloyorkie</p>", crdt.ToXML(para))
assert.Equal(t, 11, para.Len())
Expand Down

0 comments on commit 32974ae

Please sign in to comment.