Adjust testData to CharSequence.length transformation
This commit is contained in:
committed by
Mikhail Glukhikh
parent
cb562e7ea5
commit
f0e3fd617d
@@ -1,5 +1,5 @@
|
||||
fun StringBuilder.takeFirst(): Char {
|
||||
if (this.length() == 0) return 0.toChar()
|
||||
if (this.length == 0) return 0.toChar()
|
||||
val c = this.get(0)
|
||||
this.deleteCharAt(0)
|
||||
return c
|
||||
|
||||
Reference in New Issue
Block a user