mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 16:10:00 +00:00
Fix deprecation warning.
This commit is contained in:
+1
-1
@@ -78,7 +78,7 @@ class KonsistClassNameTest {
|
|||||||
.assertTrue {
|
.assertTrue {
|
||||||
val interfaceName = it.name.replace("Fake", "")
|
val interfaceName = it.name.replace("Fake", "")
|
||||||
it.name.startsWith("Fake") &&
|
it.name.startsWith("Fake") &&
|
||||||
it.parents.any { parent -> parent.name.replace(".", "") == interfaceName }
|
it.parents().any { parent -> parent.name.replace(".", "") == interfaceName }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user