fix item-splitting

This commit is contained in:
Kevin Jahns 2017-10-24 16:41:19 +02:00
parent d859fd68fe
commit 9d1ad8cb28
2 changed files with 2 additions and 1 deletions

View File

@ -35,6 +35,7 @@ export function splitHelper (y, a, b, diff) {
if (o._origin === a) {
o._origin = b
}
foundOrigins.add(o)
o = o._right
}
y.os.put(b)

View File

@ -272,7 +272,7 @@ var arrayTransactions = [
]
test('y-array: Random tests (5)', async function randomArray5 (t) {
await applyRandomTests(t, arrayTransactions, 12)
await applyRandomTests(t, arrayTransactions, 30)
})
test('y-array: Random tests (42)', async function randomArray42 (t) {