Files
kotlin-fork/idea/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/stringIsNotEmpty.kt.after
T
2019-03-06 11:06:40 +03:00

6 lines
171 B
Plaintext
Vendored

// PROBLEM: Replace negated 'isNotEmpty' with 'isEmpty'
// FIX: Replace negated 'isNotEmpty' with 'isEmpty'
// WITH_RUNTIME
fun test(s: String) {
val b = s.isEmpty()
}