aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/renderers
diff options
context:
space:
mode:
authorFilip Zybała <fzybala@virtuslab.com>2020-04-06 14:24:07 +0200
committerKamil Doległo <kamilok1965@users.noreply.github.com>2020-04-15 14:41:29 +0200
commit72db3a16521408509f4a0f61ef110851a252d2cc (patch)
tree24f0a93c809045d66063c4c643d6ded4d4c6a0bc /plugins/base/src/test/kotlin/renderers
parentfee86d79a3aa7357c68c2f8f519d187f43447e8c (diff)
downloaddokka-72db3a16521408509f4a0f61ef110851a252d2cc.tar.gz
dokka-72db3a16521408509f4a0f61ef110851a252d2cc.tar.bz2
dokka-72db3a16521408509f4a0f61ef110851a252d2cc.zip
Change PlatformHintedContent rendering, js and css to match Figma style
Diffstat (limited to 'plugins/base/src/test/kotlin/renderers')
-rw-r--r--plugins/base/src/test/kotlin/renderers/html/PlatformDependentHintTest.kt14
1 files changed, 7 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 a985886d..cf1ac0a9 100644
--- a/plugins/base/src/test/kotlin/renderers/html/PlatformDependentHintTest.kt
+++ b/plugins/base/src/test/kotlin/renderers/html/PlatformDependentHintTest.kt
@@ -26,7 +26,7 @@ class PlatformDependentHintTest : RenderingOnlyTestBase() {
}
HtmlRenderer(context).render(page)
- renderedContent.match(Div("abc"))
+ renderedContent.match(Div(Div(Div("abc"))))
}
@Test
@@ -40,7 +40,7 @@ class PlatformDependentHintTest : RenderingOnlyTestBase() {
}
HtmlRenderer(context).render(page)
- renderedContent.match("[js]", Div("a"), "[jvm]", Div("b"), "[native]", Div("c"))
+ renderedContent.match(Div(Div(Div("a")), Div(Div("b")), Div(Div("c"))))
}
@Test
@@ -54,7 +54,7 @@ class PlatformDependentHintTest : RenderingOnlyTestBase() {
}
HtmlRenderer(context).render(page)
- renderedContent.match("[js]", Div("ab"), "[jvm]", Div("bc"))
+ renderedContent.match(Div(Div(Div("ab")), Div(Div("bc"))))
}
@Test
@@ -68,7 +68,7 @@ class PlatformDependentHintTest : RenderingOnlyTestBase() {
}
HtmlRenderer(context).render(page)
- renderedContent.match(Div("ab"))
+ renderedContent.match(Div(Div(Div("ab"))))
}
@Test
@@ -84,7 +84,7 @@ class PlatformDependentHintTest : RenderingOnlyTestBase() {
}
HtmlRenderer(context).render(page)
- renderedContent.match("[js]", Div(Div("ab")), "[jvm]", Div(Div("a"), "b"))
+ renderedContent.match(Div(Div(Div(Div("ab"))), Div(Div(Div("a"), "b"))))
}
@Test
@@ -101,7 +101,7 @@ class PlatformDependentHintTest : RenderingOnlyTestBase() {
HtmlRenderer(context).render(page)
println(renderedContent)
- renderedContent.match("ab")
+ renderedContent.match(Div(Div("ab")))
}
@Test
@@ -115,6 +115,6 @@ class PlatformDependentHintTest : RenderingOnlyTestBase() {
}
HtmlRenderer(context).render(page)
- renderedContent.match("[js, jvm]", Div("a"), "[native]", Div("b"))
+ renderedContent.match(Div(Div(Div("a")), Div(Div("b"))))
}
} \ No newline at end of file