Fix tests in mobile shared library wizard #KT-27335 Fixed
This commit is contained in:
+2
-2
@@ -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()
|
||||||
|
|||||||
Reference in New Issue
Block a user