Fix testData/js: replace deprecated usages: times, sortBy, reverse, splitBy.

This commit is contained in:
Ilya Gorbunov
2015-10-02 21:11:49 +03:00
parent 1c416ae5f3
commit 352ac58ba5
6 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -1,8 +1,8 @@
package foo
fun box(): String {
assertEquals(listOf(7, 6, 5, 4, 3), (3..7).reverse())
assertEquals(listOf(10, 11, 12, 13), (13 downTo 10).reverse())
assertEquals(listOf(7, 6, 5, 4, 3), (3..7).reversed().toList())
assertEquals(listOf(10, 11, 12, 13), (13 downTo 10).reversed().toList())
return "OK"
}