Test for KT-2017 Cannot sort list with no comparator

#KT-2017 obsolete
This commit is contained in:
Evgeny Gerashchenko
2013-03-14 17:20:00 +04:00
parent 8fc5676c95
commit be30716076
2 changed files with 9 additions and 0 deletions
@@ -0,0 +1,4 @@
fun box(): String {
val sorted = arrayListOf("1", "3", "2").sort()
return if (sorted != arrayListOf("1", "2", "3")) "$sorted" else "OK"
}