Fix tests after disabling trailing comma
#KT-34744
This commit is contained in:
Vendored
+3
-6
@@ -3,12 +3,9 @@ fun test() {
|
||||
operator fun get(a: Int, b: Int, fn: (i: Int) -> Int) : Int = 0
|
||||
}
|
||||
val test = Test()
|
||||
test<caret>[
|
||||
1, 2,
|
||||
{ i ->
|
||||
i
|
||||
}
|
||||
]
|
||||
test<caret>[1, 2, { i ->
|
||||
i
|
||||
}]
|
||||
}
|
||||
|
||||
fun withSuppression() {
|
||||
|
||||
Vendored
+3
-5
@@ -3,9 +3,7 @@ fun test() {
|
||||
operator fun get(fn: (i: Int) -> Int) : Int = 0
|
||||
}
|
||||
val test = Test()
|
||||
test<caret>[
|
||||
{ i ->
|
||||
i
|
||||
}
|
||||
]
|
||||
test<caret>[{ i ->
|
||||
i
|
||||
}]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user