Fix tests after disabling trailing comma
#KT-34744
This commit is contained in:
+1
-2
@@ -3,6 +3,5 @@ fun callInDefault(simple: List<String> = provideSimple(), complex: List<String>
|
||||
val result = mutableListOf("statement 1")
|
||||
result.add("statement 2")
|
||||
result
|
||||
}
|
||||
) {
|
||||
}) {
|
||||
}
|
||||
+5
-7
@@ -1,8 +1,6 @@
|
||||
fun g() {
|
||||
println(
|
||||
listOf("a", "b").any {
|
||||
if (it.isEmpty()) return@any false
|
||||
it.length < 10
|
||||
}
|
||||
)
|
||||
}
|
||||
println(listOf("a", "b").any {
|
||||
if (it.isEmpty()) return@any false
|
||||
it.length < 10
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user