Fix tests after implementing trailing comma in formatter
#KT-34744
This commit is contained in:
+6
-4
@@ -1,8 +1,10 @@
|
||||
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