Files
kotlin-fork/idea/testData/inspectionsLocal/replaceNegatedIsEmptyWithIsNotEmpty/simple.kt.after
T
2018-12-26 19:25:14 +03:00

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()) {
}
}