JS backend: tests for KT-2468

This commit is contained in:
Michael Nedzelsky
2014-10-10 14:53:47 +04:00
parent cff0c35987
commit edac2dd3bd
5 changed files with 132 additions and 12 deletions
@@ -30,10 +30,9 @@ class CollectionTest {
assertEquals(2, foo.size)
assertEquals(arrayListOf("foo", "bar"), foo)
// TODO uncomment this when KT-2468 will be fixed
// assertTrue {
// foo is List<String>
// }
assertTrue {
foo is List<String>
}
}
test fun mapNotNull() {
@@ -42,10 +41,9 @@ class CollectionTest {
assertEquals(2, foo.size)
assertEquals(arrayListOf(3, 3), foo)
// TODO uncomment this when KT-2468 will be fixed
// assertTrue {
// foo is List<Int>
// }
assertTrue {
foo is List<Int>
}
}
test fun filterIntoSet() {