mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-12-23 09:07:14 +00:00
hotfix
This commit is contained in:
parent
5eb48a58bf
commit
f0127b018e
@ -16,7 +16,7 @@ class DiffUtilsTests {
|
|||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
val removedSublist = oldList.subList(i, i + count)
|
val removedSublist = oldList.subList(i, i + count)
|
||||||
oldList.calculateNonstrictDiff(oldList - removedSublist).apply {
|
oldList.calculateDiff(oldList - removedSublist).apply {
|
||||||
assertEquals(
|
assertEquals(
|
||||||
removedSublist.mapIndexed { j, o -> IndexedValue(i + j, o) },
|
removedSublist.mapIndexed { j, o -> IndexedValue(i + j, o) },
|
||||||
removed
|
removed
|
||||||
@ -68,7 +68,7 @@ class DiffUtilsTests {
|
|||||||
mutable[index] = it.value
|
mutable[index] = it.value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
oldList.calculateNonstrictDiff(mutable).apply {
|
oldList.calculateDiff(mutable).apply {
|
||||||
assertEquals(
|
assertEquals(
|
||||||
changes,
|
changes,
|
||||||
replaced
|
replaced
|
||||||
|
Loading…
Reference in New Issue
Block a user