aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/model/JavaTest.kt
diff options
context:
space:
mode:
authorPaweł Marks <pmarks@virtuslab.com>2020-03-25 15:34:33 +0100
committerKamil Doległo <kamilok1965@users.noreply.github.com>2020-03-25 15:45:32 +0100
commitaf9d525d75a517a5a7cb39d30fd4b2c9e8b93837 (patch)
tree19466eb468003e17a732ea483837848359ac76e4 /plugins/base/src/test/kotlin/model/JavaTest.kt
parentcf37a3d981bac28e791ec0402fe6f19f986e7a47 (diff)
downloaddokka-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.kt5
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}"
}
}
}