Files
kotlin-fork/idea/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsNotBlank.kt
T
2020-09-03 14:20:35 +02:00

6 lines
182 B
Kotlin
Vendored

// PROBLEM: Replace negated 'isNotBlank' with 'isBlank'
// FIX: Replace negated 'isNotBlank' with 'isBlank'
// WITH_RUNTIME
fun test(s: String) {
val b = !s.isNotBlank<caret>()
}