Adjust testData to CharSequence.length transformation

This commit is contained in:
Denis Zharkov
2015-10-12 20:29:01 +03:00
committed by Mikhail Glukhikh
parent cb562e7ea5
commit f0e3fd617d
348 changed files with 524 additions and 540 deletions
@@ -4,5 +4,5 @@ tailrec fun String.repeat(num : Int, acc : StringBuilder = StringBuilder()) : St
fun box() : String {
val s = "a".repeat(10000)
return if (s.length() == 10000) "OK" else "FAIL: ${s.length()}"
return if (s.length == 10000) "OK" else "FAIL: ${s.length}"
}