This commit is contained in:
InsanusMokrassar 2020-11-02 00:14:25 +06:00
parent 5eb48a58bf
commit f0127b018e

View File

@ -16,7 +16,7 @@ class DiffUtilsTests {
continue
}
val removedSublist = oldList.subList(i, i + count)
oldList.calculateNonstrictDiff(oldList - removedSublist).apply {
oldList.calculateDiff(oldList - removedSublist).apply {
assertEquals(
removedSublist.mapIndexed { j, o -> IndexedValue(i + j, o) },
removed
@ -68,7 +68,7 @@ class DiffUtilsTests {
mutable[index] = it.value
}
}
oldList.calculateNonstrictDiff(mutable).apply {
oldList.calculateDiff(mutable).apply {
assertEquals(
changes,
replaced