Skip to content

Commit cbb55fe

Browse files
committed
Fix typo in annotation name.
1 parent 27c2422 commit cbb55fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/konsist/src/test/kotlin/io/element/android/tests/konsist/KonsistPreviewTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ class KonsistPreviewTest {
4040
.functions()
4141
.withNameEndingWith("A11yPreview")
4242
.assertTrue(
43-
additionalMessage = "Functions with 'A11yPreview' suffix should have '@Previews' annotation and not '@PreviewsDayNight'," +
43+
additionalMessage = "Functions with 'A11yPreview' suffix should have '@Preview' annotation and not '@PreviewsDayNight'," +
4444
" should contain 'ElementPreview' composable," +
4545
" should contain the tested view" +
46-
" and should be internal"
46+
" and should be internal."
4747
) {
4848
val testedView = it.name.removeSuffix("A11yPreview")
4949
it.text.contains("$testedView(") &&

0 commit comments

Comments
 (0)