diff --git a/idea/testData/refactoring/introduceVariable/FunctionLiteral.kt b/idea/testData/refactoring/introduceVariable/FunctionLiteral.kt index d8e687f7f8f..60443bf7198 100644 --- a/idea/testData/refactoring/introduceVariable/FunctionLiteral.kt +++ b/idea/testData/refactoring/introduceVariable/FunctionLiteral.kt @@ -3,7 +3,7 @@ fun foo(c : Collection){ } /* fun foo(c : Collection){ - val function = {it; false} + val function = { it; false } c.filter(function) } */ \ No newline at end of file diff --git a/idea/testData/refactoring/introduceVariable/FunctionLiteralFromExpected.kt b/idea/testData/refactoring/introduceVariable/FunctionLiteralFromExpected.kt index 7b7b9066273..0ef532a7182 100644 --- a/idea/testData/refactoring/introduceVariable/FunctionLiteralFromExpected.kt +++ b/idea/testData/refactoring/introduceVariable/FunctionLiteralFromExpected.kt @@ -11,7 +11,7 @@ class A { } fun apply(x: (A) -> Int) = 2 fun test() { - val function: (A) -> Int = {it.foo()} + val function: (A) -> Int = { it.foo() } apply(function) } */ \ No newline at end of file diff --git a/idea/testData/templates/closure.exp.kt b/idea/testData/templates/closure.exp.kt index bf00def3787..6df9e047149 100644 --- a/idea/testData/templates/closure.exp.kt +++ b/idea/testData/templates/closure.exp.kt @@ -1,3 +1,3 @@ fun main(args : Array) { - val someFun = {param -> param} + val someFun = { param -> param } }