Files
kotlin-fork/idea/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/simple.kt.after
T

8 lines
147 B
Plaintext
Vendored

// WITH_RUNTIME
// FIX: Replace negated 'isEmpty' with 'isNotEmpty'
fun test() {
val list = listOf(1,2,3)
if (list.isNotEmpty()) {
}
}