diff options
author | Andrzej Ratajczak <andrzej.ratajczak98@gmail.com> | 2020-04-08 16:23:19 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-04-22 13:10:48 +0200 |
commit | 5a72f4a7e63d96f98072bf3989373592c2b906c2 (patch) | |
tree | 202f5f86cd8e3b50cd93bf1b8c2bdc02788fed92 /plugins/base/src/test/kotlin/renderers/html/PlatformDependentHintTest.kt | |
parent | 089113e352ecd49216602bb1a02fbfada6a40788 (diff) | |
download | dokka-5a72f4a7e63d96f98072bf3989373592c2b906c2.tar.gz dokka-5a72f4a7e63d96f98072bf3989373592c2b906c2.tar.bz2 dokka-5a72f4a7e63d96f98072bf3989373592c2b906c2.zip |
Apply requested changes
Diffstat (limited to 'plugins/base/src/test/kotlin/renderers/html/PlatformDependentHintTest.kt')
-rw-r--r-- | plugins/base/src/test/kotlin/renderers/html/PlatformDependentHintTest.kt | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/plugins/base/src/test/kotlin/renderers/html/PlatformDependentHintTest.kt b/plugins/base/src/test/kotlin/renderers/html/PlatformDependentHintTest.kt index 3e603955..cf1ac0a9 100644 --- a/plugins/base/src/test/kotlin/renderers/html/PlatformDependentHintTest.kt +++ b/plugins/base/src/test/kotlin/renderers/html/PlatformDependentHintTest.kt @@ -1,6 +1,5 @@ package renderers.html -import kotlinx.coroutines.runBlocking import org.jetbrains.dokka.Platform import org.jetbrains.dokka.base.renderers.html.HtmlRenderer import org.jetbrains.dokka.pages.PlatformData @@ -100,12 +99,7 @@ class PlatformDependentHintTest : RenderingOnlyTestBase() { } } - runBlocking { - val scope = this - with(HtmlRenderer(context)) { - scope.render(page) - } - } + HtmlRenderer(context).render(page) println(renderedContent) renderedContent.match(Div(Div("ab"))) } |