Files
kotlin-fork/idea/testData/inspectionsLocal/replaceStringFormatWithLiteral/invalidArgs.kt
T
Toshiaki Kameyama 6675d7814c KT-14779 Inspection to replace String.format with string templates (#1645)
* Add inspection to replace String.format with string templates #KT-14779 Fixed

* KT-14779 Fixed
2018-06-20 16:23:04 +03:00

8 lines
120 B
Kotlin
Vendored

// PROBLEM: none
// WITH_RUNTIME
fun test() {
val foo = 1
<caret>String.format("foo is %s, bar is %s.", foo)
}