aboutsummaryrefslogtreecommitdiff
path: root/test/src/model
diff options
context:
space:
mode:
Diffstat (limited to 'test/src/model')
-rw-r--r--test/src/model/ClassTest.kt3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/src/model/ClassTest.kt b/test/src/model/ClassTest.kt
index ae82a4f1..f21c5c57 100644
--- a/test/src/model/ClassTest.kt
+++ b/test/src/model/ClassTest.kt
@@ -183,8 +183,7 @@ public class ClassTest {
Test fun annotatedClassWithAnnotationParameters() {
verifyModel("test/data/classes/annotatedClassWithAnnotationParameters.kt") { model ->
with(model.members.single().members.single()) {
- assertEquals(1, annotations.count())
- with(annotations[0]) {
+ with(deprecation!!) {
assertEquals("deprecated", name)
assertEquals(Content.Empty, content)
assertEquals(DocumentationNode.Kind.Annotation, kind)