Fix tests in mobile shared library wizard #KT-27335 Fixed

This commit is contained in:
Mikhail Glukhikh
2018-10-02 13:08:45 +03:00
parent 4fb434c0de
commit 75b27f890a
@@ -67,7 +67,7 @@ class KotlinGradleMobileSharedMultiplatformModuleBuilder : KotlinGradleAbstractM
} }
actual object Platform { actual object Platform {
actual fun name(): String = "Android" actual fun name(): String = "JVM"
} }
""".trimIndent() """.trimIndent()
) )
@@ -128,7 +128,7 @@ class KotlinGradleMobileSharedMultiplatformModuleBuilder : KotlinGradleAbstractM
class SampleTestsNative { class SampleTestsNative {
@Test @Test
fun testHello() { fun testHello() {
assertTrue("Native" in hello()) assertTrue("iOS" in hello())
} }
} }
""".trimIndent() """.trimIndent()