StdLib deprecations cleanup: *array -> *arrayOf, copyToArray -> toTypedArray.
This commit is contained in:
@@ -32,9 +32,9 @@ class LocaleTemplateTest : TestCase() {
|
||||
|
||||
// TODO will use a tuple soon
|
||||
//val actual = formatter.format(StringTemplate(Tuple2<String,String>("hello ", name))
|
||||
val actual = StringTemplate(array("hello ", name,
|
||||
" price ", price,
|
||||
" data ", now)).toString(formatter)
|
||||
val actual = StringTemplate(arrayOf("hello ", name,
|
||||
" price ", price,
|
||||
" data ", now)).toString(formatter)
|
||||
|
||||
println("Got text: $actual")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user