Create samples for String.toLowerCase/toUpperCase
* Create toLowerCase method sample * Create toUpperCase method sample * Create toUpperCase sample reference in StringsJVM * Create sample ref and doc of js impl toUpperCase * Create sample ref and docs of js toLowerCase * Add sample ref in toLowerCase expect fun * Add sample ref in toUpperCase expect fun
This commit is contained in:
@@ -94,4 +94,14 @@ class Strings {
|
||||
assertPrints(byteArray.toString(charset), "Hello")
|
||||
}
|
||||
|
||||
@Sample
|
||||
fun toLowerCase() {
|
||||
assertPrints("Iced frappé!".toLowerCase(), "iced frappé!")
|
||||
}
|
||||
|
||||
@Sample
|
||||
fun toUpperCase() {
|
||||
assertPrints("Iced frappé!".toUpperCase(), "ICED FRAPPÉ!")
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user