33360c2528
#KT-2564 Obsolete. Looks like, it's fixed in dcddd04.
23 lines
365 B
Kotlin
23 lines
365 B
Kotlin
package test.collections
|
|
|
|
import kotlin.*
|
|
import kotlin.test.*
|
|
import junit.framework.TestCase
|
|
|
|
class StandardCollectionTest() : TestCase() {
|
|
|
|
fun testDisabled() {
|
|
}
|
|
|
|
fun testAny() {
|
|
val data: Iterable<String> = listOf("foo", "bar")
|
|
|
|
assertTrue {
|
|
data.any{it.startsWith("f")}
|
|
}
|
|
assertNot {
|
|
data.any{it.startsWith("x")}
|
|
}
|
|
}
|
|
}
|