mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-17 15:54:03 +00:00
Don't reconfigure runtime before every test. For consistency, mark tests that require the runtime with directives instead of relying on test file names.
10 lines
304 B
Kotlin
Vendored
10 lines
304 B
Kotlin
Vendored
// "Remove single lambda parameter declaration" "false"
|
|
// ACTION: Move lambda argument into parentheses
|
|
// ACTION: Rename to _
|
|
// ACTION: Specify explicit lambda signature
|
|
// ACTION: Specify type explicitly
|
|
// RUNTIME_WITH_FULL_JDK
|
|
|
|
fun main() {
|
|
mapOf(1 to 2).forEach { t, <caret>u -> println(t) }
|
|
} |