Implement String.toBoolean() for JS.
#KT-16348
This commit is contained in:
committed by
Ilya Gorbunov
parent
86c10b635a
commit
11696ac4c0
@@ -5,7 +5,6 @@ import kotlin.test.*
|
||||
|
||||
class StringNumberConversionTest {
|
||||
|
||||
@kotlin.jvm.JvmVersion
|
||||
@Test fun toBoolean() {
|
||||
assertEquals(true, "true".toBoolean())
|
||||
assertEquals(true, "True".toBoolean())
|
||||
|
||||
Reference in New Issue
Block a user