aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin
diff options
context:
space:
mode:
authorMarcin Aman <marcin.aman@gmail.com>2021-08-27 15:09:00 +0200
committerMarcin Aman <marcin.aman@gmail.com>2021-08-27 15:09:00 +0200
commitfb6822793252cb2957ae0f0c2ed36aafebcf12f4 (patch)
tree6167d4b1b1d8ba565ac2ab316f0108ad592a0e26 /plugins/base/src/test/kotlin
parent459a0005824de412ff7d4472c1eb4d6fb7c2a7cc (diff)
downloaddokka-fb6822793252cb2957ae0f0c2ed36aafebcf12f4.tar.gz
dokka-fb6822793252cb2957ae0f0c2ed36aafebcf12f4.tar.bz2
dokka-fb6822793252cb2957ae0f0c2ed36aafebcf12f4.zip
Cleanup and version bump to 1.5.30
Diffstat (limited to 'plugins/base/src/test/kotlin')
-rw-r--r--plugins/base/src/test/kotlin/content/annotations/ContentForAnnotationsTest.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/src/test/kotlin/content/annotations/ContentForAnnotationsTest.kt b/plugins/base/src/test/kotlin/content/annotations/ContentForAnnotationsTest.kt
index 5c78e885..f7f7eb66 100644
--- a/plugins/base/src/test/kotlin/content/annotations/ContentForAnnotationsTest.kt
+++ b/plugins/base/src/test/kotlin/content/annotations/ContentForAnnotationsTest.kt
@@ -223,7 +223,7 @@ class ContentForAnnotationsTest : BaseAbstractTest() {
))
val property = modules.flatMap { it.packages }.flatMap { it.properties }.first()
val annotation = property.extra[Annotations]?.let {
- it.directAnnotations.entries.firstNotNullResult { (_, annotations): Map.Entry<DokkaConfiguration.DokkaSourceSet, List<Annotations.Annotation>> -> annotations.firstOrNull() }
+ it.directAnnotations.entries.firstNotNullResult { (_, annotations) -> annotations.firstOrNull() }
}
val annotationParams = annotation?.params ?: emptyMap()