Fix tests after disabling trailing comma
#KT-34744
This commit is contained in:
+4
-6
@@ -1,10 +1,8 @@
|
||||
fun foo(f: (Int) -> String) {}
|
||||
|
||||
fun test() {
|
||||
foo(
|
||||
fun(it: Int): String {
|
||||
val b = it == 1
|
||||
return if (b) "1" else "2"
|
||||
}
|
||||
)
|
||||
foo(fun(it: Int): String {
|
||||
val b = it == 1
|
||||
return if (b) "1" else "2"
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user