From d9af94f2b26d54c88fb0696560de166af9df3d65 Mon Sep 17 00:00:00 2001 From: Paweł Marks Date: Tue, 31 Mar 2020 18:23:47 +0200 Subject: Fix test data for platform dependent hint --- .../src/test/kotlin/renderers/html/PlatformDependentHintTest.kt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/base') diff --git a/plugins/base/src/test/kotlin/renderers/html/PlatformDependentHintTest.kt b/plugins/base/src/test/kotlin/renderers/html/PlatformDependentHintTest.kt index f8ba51a6..a985886d 100644 --- a/plugins/base/src/test/kotlin/renderers/html/PlatformDependentHintTest.kt +++ b/plugins/base/src/test/kotlin/renderers/html/PlatformDependentHintTest.kt @@ -40,7 +40,7 @@ class PlatformDependentHintTest : RenderingOnlyTestBase() { } HtmlRenderer(context).render(page) - renderedContent.match("[pl1]", Div("a"), "[pl2]", Div("b"), "[pl3]", Div("c")) + renderedContent.match("[js]", Div("a"), "[jvm]", Div("b"), "[native]", Div("c")) } @Test @@ -54,7 +54,7 @@ class PlatformDependentHintTest : RenderingOnlyTestBase() { } HtmlRenderer(context).render(page) - renderedContent.match("[pl1]", Div("ab"), "[pl2]", Div("bc")) + renderedContent.match("[js]", Div("ab"), "[jvm]", Div("bc")) } @Test @@ -84,7 +84,7 @@ class PlatformDependentHintTest : RenderingOnlyTestBase() { } HtmlRenderer(context).render(page) - renderedContent.match("[pl1]", Div(Div("ab")), "[pl2]", Div(Div("a"), "b")) + renderedContent.match("[js]", Div(Div("ab")), "[jvm]", Div(Div("a"), "b")) } @Test @@ -115,6 +115,6 @@ class PlatformDependentHintTest : RenderingOnlyTestBase() { } HtmlRenderer(context).render(page) - renderedContent.match("[pl1, pl2]", Div("a"), "[pl3]", Div("b")) + renderedContent.match("[js, jvm]", Div("a"), "[native]", Div("b")) } } \ No newline at end of file -- cgit