This commit is contained in:
InsanusMokrassar committed 2020-11-02 00:14:25 +06:00
1 parent 5eb48a58bf
commit f0127b018e
1 file changed
+2 -2
@@ -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