We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a4a807 commit 2d9b0bbCopy full SHA for 2d9b0bb
tests/konsist/src/test/kotlin/io/element/android/tests/konsist/KonsistClassNameTest.kt
@@ -68,11 +68,12 @@ class KonsistClassNameTest {
68
.withoutName(
69
"FakeFileSystem",
70
"FakeImageLoader",
71
- "FakeRustRoom",
72
)
73
.assertTrue {
74
- val interfaceName = it.name.replace("Fake", "")
75
- it.name.startsWith("Fake") &&
+ val interfaceName = it.name
+ .replace("FakeRust", "")
+ .replace("Fake", "")
76
+ (it.name.startsWith("Fake") || it.name.startsWith("FakeRust")) &&
77
it.parents().any { parent -> parent.name.replace(".", "") == interfaceName }
78
}
79
0 commit comments