aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilip Zybała <fzybala@virtuslab.com>2020-06-23 08:59:43 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-06-23 09:24:08 +0200
commit4b886742cba287860b6e9c0d3f98781b60fe75da (patch)
treedadf88000f10fef1745c009f121506c47cb773fa
parentca4622e32326f804a1dd03e03f36e874657442d4 (diff)
downloaddokka-4b886742cba287860b6e9c0d3f98781b60fe75da.tar.gz
dokka-4b886742cba287860b6e9c0d3f98781b60fe75da.tar.bz2
dokka-4b886742cba287860b6e9c0d3f98781b60fe75da.zip
Fixed compilation error in test
-rw-r--r--plugins/base/src/test/kotlin/model/ClassesTest.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/base/src/test/kotlin/model/ClassesTest.kt b/plugins/base/src/test/kotlin/model/ClassesTest.kt
index 9121f9ae..fcb81a13 100644
--- a/plugins/base/src/test/kotlin/model/ClassesTest.kt
+++ b/plugins/base/src/test/kotlin/model/ClassesTest.kt
@@ -426,7 +426,7 @@ class ClassesTest : AbstractModelTest("/src/main/kotlin/classes/Test.kt", "class
"""@Suppress("abc") class Foo() {}"""
) {
with((this / "classes" / "Foo").cast<DClass>()) {
- with(extra[Annotations]?.content?.firstOrNull().assertNotNull("annotations")) {
+ with(extra[Annotations]?.content?.values?.firstOrNull()?.firstOrNull().assertNotNull("annotations")) {
dri.toString() equals "kotlin/Suppress///PointingToDeclaration/"
(params["names"].assertNotNull("param") as ArrayValue).value equals listOf(StringValue("\"abc\""))
}