mirror of
https://github.com/Novaloop-AG/element-x-android.git
synced 2026-11-03 06:55:41 +00:00
Fix konsist test.
This commit is contained in:
+1
-1
@@ -47,7 +47,7 @@ class KonsistPreviewTest {
|
|||||||
" and should be internal."
|
" and should be internal."
|
||||||
) {
|
) {
|
||||||
val testedView = it.name.removeSuffix("A11yPreview")
|
val testedView = it.name.removeSuffix("A11yPreview")
|
||||||
it.text.contains("$testedView(") &&
|
(it.text.contains("$testedView(") || it.text.contains("ContentToPreview(")) &&
|
||||||
it.hasAllAnnotationsOf(PreviewsDayNight::class).not() &&
|
it.hasAllAnnotationsOf(PreviewsDayNight::class).not() &&
|
||||||
it.text.contains("ElementPreview") &&
|
it.text.contains("ElementPreview") &&
|
||||||
it.hasInternalModifier
|
it.hasInternalModifier
|
||||||
|
|||||||
Reference in New Issue
Block a user