Fix stdlib tests compilation
This commit is contained in:
@@ -144,7 +144,7 @@ class StringJVMTest {
|
||||
|
||||
test fun flatMap() {
|
||||
val data = "abcd"
|
||||
val result = data.flatMap { Collections.singletonList(it) }
|
||||
val result = data.flatMap { listOf(it) }
|
||||
assertEquals(data.size, result.count())
|
||||
assertEquals(data.toCharList(), result)
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
package test
|
||||
|
||||
import java.util.Collections
|
||||
import kotlin.test.*
|
||||
import org.junit.Test as test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user