mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2024-12-27 11:07:14 +00:00
fix in several new tests
This commit is contained in:
parent
3573b2c558
commit
119009d3fb
@ -24,7 +24,7 @@ class MapDiffUtilsTests {
|
||||
@Test
|
||||
fun testMapDiffAdded() {
|
||||
val oldMap = mapOf("a" to 1, "b" to 2, "c" to 3)
|
||||
val newMap = mapOf("a" to 1, "c" to 3, "d" to 4)
|
||||
val newMap = mapOf("a" to 1, "b" to 2, "c" to 3, "d" to 4)
|
||||
|
||||
val diff = oldMap.diff(newMap)
|
||||
|
||||
@ -37,7 +37,7 @@ class MapDiffUtilsTests {
|
||||
@Test
|
||||
fun testMapDiffChanged() {
|
||||
val oldMap = mapOf("a" to 1, "b" to 2, "c" to 3)
|
||||
val newMap = mapOf("a" to 1, "c" to 5, "d" to 4)
|
||||
val newMap = mapOf("a" to 1, "b" to 2, "c" to 5)
|
||||
|
||||
val diff = oldMap.diff(newMap)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user