From f637ebe9ffa829ca36c5d8bfac87f23e63929a1d Mon Sep 17 00:00:00 2001 From: Dmitry Petrov Date: Wed, 7 Jun 2017 12:30:19 +0300 Subject: [PATCH] Minor: formatting for lambda arguments --- .../codegen/box/functions/functionNtoString.kt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/compiler/testData/codegen/box/functions/functionNtoString.kt b/compiler/testData/codegen/box/functions/functionNtoString.kt index f8c9317abcd..8ec080de4c6 100644 --- a/compiler/testData/codegen/box/functions/functionNtoString.kt +++ b/compiler/testData/codegen/box/functions/functionNtoString.kt @@ -10,14 +10,14 @@ fun check(expected: String, obj: Any?) { } fun box(): String { - check("() -> kotlin.Unit") - { -> } - check("() -> kotlin.Int") - { -> 42 } + check("() -> kotlin.Unit", + { -> }) + check("() -> kotlin.Int", + { -> 42 }) check("(kotlin.String) -> kotlin.Long", fun (s: String) = 42.toLong()) - check("(kotlin.Int, kotlin.Int) -> kotlin.Unit") - { x: Int, y: Int -> } + check("(kotlin.Int, kotlin.Int) -> kotlin.Unit", + { x: Int, y: Int -> }) check("kotlin.Int.() -> kotlin.Unit", fun Int.() {})