aboutsummaryrefslogtreecommitdiff
path: root/core/src/test/kotlin
diff options
context:
space:
mode:
authorSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-05-11 21:37:33 +0300
committerSimon Ogorodnik <Simon.Ogorodnik@jetbrains.com>2017-05-11 21:37:33 +0300
commit46b615b49fd9af994fc85c84596aa73bebed476c (patch)
treec0ec544d471f4bc37b3b73c7cd9fcf269b4ba854 /core/src/test/kotlin
parent0e8733ead6d5c4c6db7e4fe8a1f34b7598823290 (diff)
downloaddokka-46b615b49fd9af994fc85c84596aa73bebed476c.tar.gz
dokka-46b615b49fd9af994fc85c84596aa73bebed476c.tar.bz2
dokka-46b615b49fd9af994fc85c84596aa73bebed476c.zip
Resolve links in package docs in whole module
#KT-16485 fixed
Diffstat (limited to 'core/src/test/kotlin')
-rw-r--r--core/src/test/kotlin/format/PackageDocsTest.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/src/test/kotlin/format/PackageDocsTest.kt b/core/src/test/kotlin/format/PackageDocsTest.kt
index 7562c087..2ff6e85f 100644
--- a/core/src/test/kotlin/format/PackageDocsTest.kt
+++ b/core/src/test/kotlin/format/PackageDocsTest.kt
@@ -4,13 +4,13 @@ import org.jetbrains.dokka.ContentBlock
import org.jetbrains.dokka.ContentText
import org.jetbrains.dokka.DokkaConsoleLogger
import org.jetbrains.dokka.PackageDocs
-import org.junit.Test
import org.junit.Assert.assertEquals
+import org.junit.Test
public class PackageDocsTest {
@Test fun verifyParse() {
val docs = PackageDocs(null, DokkaConsoleLogger)
- docs.parse("testdata/packagedocs/stdlib.md", null)
+ docs.parse("testdata/packagedocs/stdlib.md", emptyList())
val packageContent = docs.packageContent["kotlin"]!!
val block = (packageContent.children.single() as ContentBlock).children.first() as ContentText
assertEquals("Core functions and types", block.text)