mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-12-24 17:47:15 +00:00
micro refactor
This commit is contained in:
parent
99982dbdad
commit
f03de8c8b4
@ -57,7 +57,9 @@ class MapDiffUtilsTests {
|
||||
)
|
||||
private val compareFunWasCalled = booleanArrayOf(false)
|
||||
|
||||
private fun <K, V> compareFun(wasCalled: BooleanArray): (K, V, V) -> Boolean = { _, a, b ->
|
||||
private fun <K, V> compareFun(
|
||||
wasCalled: BooleanArray
|
||||
): (K, V, V) -> Boolean = { _, a, b ->
|
||||
wasCalled[0] = true
|
||||
a != b
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user