disabled test for KT-924 for now as its a new feature, not a bug

This commit is contained in:
James Strachan
2012-01-06 09:10:07 +00:00
parent 9fbf27eb11
commit 16b617044c
+7 -3
View File
@@ -5,10 +5,13 @@ import std.test.*
class StandardCollectionTest() : TestSupport() {
fun testDisabled() {
}
/*
fun testAny() {
// TODO is a cast really required?
// doesn't compile without it, see KT-924
val data: Iterable<String> = std.util.arrayList("foo", "bar") as Iterable<String>
// TODO requires KT-924 to be implemented
val data: Iterable<String> = std.util.arrayList("foo", "bar")
assert {
data.any{it.startsWith("f")}
@@ -17,4 +20,5 @@ class StandardCollectionTest() : TestSupport() {
data.any{it.startsWith("x")}
}
}
*/
}