Fix tests after implementing trailing comma in formatter
#KT-34744
This commit is contained in:
Vendored
+5
-3
@@ -18,7 +18,9 @@ fun useSimple(s: Int): Int {
|
||||
fun println(s: String) {}
|
||||
|
||||
fun useIt() {
|
||||
val t = useSimple(simple {
|
||||
println("abc")
|
||||
})
|
||||
val t = useSimple(
|
||||
simple {
|
||||
println("abc")
|
||||
}
|
||||
)
|
||||
}
|
||||
+2
-1
@@ -36,5 +36,6 @@ fun createHi(any: Any) = "Hi $any"
|
||||
val unDeprecateMe = mutableListOf("Hello").apply {
|
||||
addA(d(::createHi, 1 ) { // Run the quick fix from the IDE and watch it produce broken code.
|
||||
println("Yo")
|
||||
}, Unit)
|
||||
}, Unit
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user