Clean TODOs, add custom Iterable implementation test.

This commit is contained in:
Ilya Ryzhenkov
2014-03-05 20:12:58 +04:00
committed by Andrey Breslav
parent ceb2aa57f9
commit 266f6ad81a
3 changed files with 20 additions and 34 deletions
@@ -48,8 +48,7 @@ class CollectionJVMTest {
}
}
// TODO would be nice to avoid the <String>
test fun filterNotNullIntolinkedListOf() {
test fun filterNotNullIntoLinkedListOf() {
val data = arrayListOf(null, "foo", null, "bar")
val foo = data.filterNotNullTo(linkedListOf<String>())
@@ -61,8 +60,6 @@ class CollectionJVMTest {
}
}
// TODO would be nice to avoid the <String>
test fun filterIntoSortedSet() {
val data = arrayListOf("foo", "bar")
val sorted = data.filterTo(sortedSetOf<String>()) { it.length == 3 }