diff --git a/common/src/commonTest/kotlin/dev/inmo/micro_utils/common/DiffUtilsTests.kt b/common/src/commonTest/kotlin/dev/inmo/micro_utils/common/DiffUtilsTests.kt index f4568073341..fdaa2611059 100644 --- a/common/src/commonTest/kotlin/dev/inmo/micro_utils/common/DiffUtilsTests.kt +++ b/common/src/commonTest/kotlin/dev/inmo/micro_utils/common/DiffUtilsTests.kt @@ -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