Adjust testData to CharSequence.length transformation
This commit is contained in:
committed by
Mikhail Glukhikh
parent
cb562e7ea5
commit
f0e3fd617d
@@ -8,7 +8,7 @@ fun box(): String {
|
||||
if (y != 5) return "Fail 2 $y"
|
||||
|
||||
var z = ""
|
||||
do { z += z.length() } while (z.length() < 5)
|
||||
do { z += z.length } while (z.length < 5)
|
||||
if (z != "01234") return "Fail 3 $z"
|
||||
|
||||
return "OK"
|
||||
|
||||
@@ -12,7 +12,7 @@ public fun testCoalesce() {
|
||||
else -> "Hello world"
|
||||
}
|
||||
|
||||
printlnMock(value.length())
|
||||
printlnMock(value.length)
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
|
||||
Reference in New Issue
Block a user