KT-29151 Fix the problematic pages - CharSequence.take() & String.take()
This commit is contained in:
committed by
Ilya Gorbunov
parent
0f45e3d238
commit
991e739693
@@ -191,4 +191,10 @@ class Strings {
|
||||
assertPrints("Hot_Tea".commonSuffixWith("Hot_Coffee"), "")
|
||||
}
|
||||
|
||||
@Sample
|
||||
fun take() {
|
||||
val string = "Lorem Ipsum"
|
||||
assertPrints(string.take(5), "Lorem")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user