Fix tests after implementing trailing comma in formatter
#KT-34744
This commit is contained in:
+2
-1
@@ -3,5 +3,6 @@ fun callInDefault(simple: List<String> = provideSimple(), complex: List<String>
|
||||
val result = mutableListOf("statement 1")
|
||||
result.add("statement 2")
|
||||
result
|
||||
}) {
|
||||
}
|
||||
) {
|
||||
}
|
||||
+7
-5
@@ -1,6 +1,8 @@
|
||||
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