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 27c2422 commit cbb55feCopy full SHA for cbb55fe
tests/konsist/src/test/kotlin/io/element/android/tests/konsist/KonsistPreviewTest.kt
@@ -40,10 +40,10 @@ class KonsistPreviewTest {
40
.functions()
41
.withNameEndingWith("A11yPreview")
42
.assertTrue(
43
- additionalMessage = "Functions with 'A11yPreview' suffix should have '@Previews' annotation and not '@PreviewsDayNight'," +
+ additionalMessage = "Functions with 'A11yPreview' suffix should have '@Preview' annotation and not '@PreviewsDayNight'," +
44
" should contain 'ElementPreview' composable," +
45
" should contain the tested view" +
46
- " and should be internal"
+ " and should be internal."
47
) {
48
val testedView = it.name.removeSuffix("A11yPreview")
49
it.text.contains("$testedView(") &&
0 commit comments