diff options
author | Andrzej Ratajczak <andrzej.ratajczak98@gmail.com> | 2020-06-15 15:17:27 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-06-25 14:56:46 +0200 |
commit | b2ab395be8cb1560088987aa5132d3782596fc80 (patch) | |
tree | 0285437d287e49e43ce8d403072814581587866f /plugins/base/src/test/kotlin | |
parent | d96d46f76ed800de45cade90dedc11ec72a37341 (diff) | |
download | dokka-b2ab395be8cb1560088987aa5132d3782596fc80.tar.gz dokka-b2ab395be8cb1560088987aa5132d3782596fc80.tar.bz2 dokka-b2ab395be8cb1560088987aa5132d3782596fc80.zip |
Fix tests
Diffstat (limited to 'plugins/base/src/test/kotlin')
-rw-r--r-- | plugins/base/src/test/kotlin/content/annotations/DepredatedAndSinceKotlinTest.kt | 1 | ||||
-rw-r--r-- | plugins/base/src/test/kotlin/enums/EnumsTest.kt | 8 |
2 files changed, 3 insertions, 6 deletions
diff --git a/plugins/base/src/test/kotlin/content/annotations/DepredatedAndSinceKotlinTest.kt b/plugins/base/src/test/kotlin/content/annotations/DepredatedAndSinceKotlinTest.kt index b5150ed1..68751ee5 100644 --- a/plugins/base/src/test/kotlin/content/annotations/DepredatedAndSinceKotlinTest.kt +++ b/plugins/base/src/test/kotlin/content/annotations/DepredatedAndSinceKotlinTest.kt @@ -18,7 +18,6 @@ class DepredatedAndSinceKotlinTest : AbstractCoreTest() { pass { sourceRoots = listOf("src/") analysisPlatform = "jvm" - targets = listOf("jvm") } } } diff --git a/plugins/base/src/test/kotlin/enums/EnumsTest.kt b/plugins/base/src/test/kotlin/enums/EnumsTest.kt index 695a8fd2..f338a8b3 100644 --- a/plugins/base/src/test/kotlin/enums/EnumsTest.kt +++ b/plugins/base/src/test/kotlin/enums/EnumsTest.kt @@ -126,7 +126,7 @@ class EnumsTest : AbstractCoreTest() { val entryPage = module.dfs { it.name == "E1" } as ClasslikePageNode val signaturePart = (entryPage.content.dfs { it is ContentGroup && it.dci.toString() == "[enums/Test.E1///PointingToDeclaration/][Symbol]" - } as ContentGroup).children.first() as ContentGroup + } as ContentGroup) assertEquals("(\"e1\", 1, true)", signaturePart.constructorSignature()) } } @@ -213,10 +213,8 @@ class EnumsTest : AbstractCoreTest() { } } group { - group { - link { +"E1" } - +"()" - } + link { +"E1" } + +"()" } } } |