Migrate to using join* functions instead of deprecated.
This commit is contained in:
committed by
Andrey Breslav
parent
19858b9f74
commit
f471f7901c
@@ -13,7 +13,7 @@ class CollectionJVMTest {
|
||||
val characters = data.flatMap { it.toCharList() }
|
||||
println("Got list of characters ${characters}")
|
||||
assertEquals(7, characters.size())
|
||||
val text = characters.makeString("")
|
||||
val text = characters.joinToString("")
|
||||
assertEquals("foobarx", text)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user