Test for KT-2017 Cannot sort list with no comparator
#KT-2017 obsolete
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
fun box(): String {
|
||||
val sorted = arrayListOf("1", "3", "2").sort()
|
||||
return if (sorted != arrayListOf("1", "2", "3")) "$sorted" else "OK"
|
||||
}
|
||||
Reference in New Issue
Block a user