diff options
author | Paweł Marks <pmarks@virtuslab.com> | 2020-03-25 15:34:33 +0100 |
---|---|---|
committer | Kamil Doległo <kamilok1965@users.noreply.github.com> | 2020-03-25 15:45:32 +0100 |
commit | af9d525d75a517a5a7cb39d30fd4b2c9e8b93837 (patch) | |
tree | 19466eb468003e17a732ea483837848359ac76e4 /plugins/base/src/test/kotlin/model/JavaTest.kt | |
parent | cf37a3d981bac28e791ec0402fe6f19f986e7a47 (diff) | |
download | dokka-af9d525d75a517a5a7cb39d30fd4b2c9e8b93837.tar.gz dokka-af9d525d75a517a5a7cb39d30fd4b2c9e8b93837.tar.bz2 dokka-af9d525d75a517a5a7cb39d30fd4b2c9e8b93837.zip |
Fix inproper resolution of annotations
Diffstat (limited to 'plugins/base/src/test/kotlin/model/JavaTest.kt')
-rw-r--r-- | plugins/base/src/test/kotlin/model/JavaTest.kt | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/plugins/base/src/test/kotlin/model/JavaTest.kt b/plugins/base/src/test/kotlin/model/JavaTest.kt index 2545823b..a0cb68d7 100644 --- a/plugins/base/src/test/kotlin/model/JavaTest.kt +++ b/plugins/base/src/test/kotlin/model/JavaTest.kt @@ -336,10 +336,9 @@ class JavaTest : AbstractModelTest("/src/main/kotlin/java/Test.java", "java") { ) { with((this / "java" / "Attribute").cast<DAnnotation>()) { with(extra[Annotations].assertNotNull("Annotations")) { - content counts 1 - with(content.first()) { + with(content.single()) { dri.classNames equals "Target" - params["value"].assertNotNull("value") equals "PsiArrayInitializerMemberValue:{ElementType.FIELD, ElementType.TYPE, ElementType.METHOD}" + params["value"].assertNotNull("value") equals "{ElementType.FIELD, ElementType.TYPE, ElementType.METHOD}" } } } |