Remove unnecessary Char.toChar from tests.

This commit is contained in:
Ilya Gorbunov
2015-07-05 03:18:29 +03:00
parent 456bab40d1
commit f440d97e04
12 changed files with 37 additions and 37 deletions
@@ -55,13 +55,13 @@ fun box(): String {
}
val list5 = ArrayList<Char>()
val range5 = (MaxC - 2).toChar()..MaxC step 2
val range5 = (MaxC - 2)..MaxC step 2
for (i in range5) {
list5.add(i)
if (list5.size() > 23) break
}
if (list5 != listOf<Char>((MaxC - 2).toChar(), MaxC)) {
return "Wrong elements for (MaxC - 2).toChar()..MaxC step 2: $list5"
if (list5 != listOf<Char>((MaxC - 2), MaxC)) {
return "Wrong elements for (MaxC - 2)..MaxC step 2: $list5"
}
return "OK"