mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-12-22 16:47:15 +00:00
hotfix
This commit is contained in:
parent
5eb48a58bf
commit
f0127b018e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user