aboutsummaryrefslogtreecommitdiff
path: root/core/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'core/src/test')
-rw-r--r--core/src/test/kotlin/markdownParser/MarkdownParserTest.kt10
1 files changed, 3 insertions, 7 deletions
diff --git a/core/src/test/kotlin/markdownParser/MarkdownParserTest.kt b/core/src/test/kotlin/markdownParser/MarkdownParserTest.kt
index 466d78a6..70554045 100644
--- a/core/src/test/kotlin/markdownParser/MarkdownParserTest.kt
+++ b/core/src/test/kotlin/markdownParser/MarkdownParserTest.kt
@@ -1,12 +1,8 @@
package org.jetbrains.dokka.tests.markdownParser
-import junit.framework.Assert.assertEquals
-import junit.framework.Assert.assertTrue
-import org.jetbrains.dokka.DokkaConfiguration
-import org.jetbrains.dokka.links.DRI
-import org.jetbrains.dokka.pages.buildContent
+import org.jetbrains.dokka.pages.NewContentBuilder
import org.jetbrains.dokka.parseMarkdown
-import org.jetbrains.dokka.resolvers.ExternalLocationProvider
+import org.junit.Assert.assertTrue
import org.junit.Test
@@ -20,7 +16,7 @@ class MarkdownParserTest {
let's say there are some parentheses, like ( and )
""".trimIndent()
val node = parseMarkdown(markdown)
- val content = buildContent(node, emptyList())
+ val content = NewContentBuilder().buildContent(node, emptyList())
assertTrue(content.isNotEmpty())
}