diff --git a/idea/testData/formatter/SingleLineFunctionLiteral.after.inv.kt b/idea/testData/formatter/SingleLineFunctionLiteral.after.inv.kt index ee26dd90c10..5c49457094e 100644 --- a/idea/testData/formatter/SingleLineFunctionLiteral.after.inv.kt +++ b/idea/testData/formatter/SingleLineFunctionLiteral.after.inv.kt @@ -4,5 +4,6 @@ fun test(some: (Int) -> Int) { fun foo() = test() {it} val function = test {(a: Int) -> a} val function1 = test {a : Int -> a} +val function2 = test {} // SET_TRUE: INSERT_WHITESPACES_IN_SIMPLE_ONE_LINE_METHOD \ No newline at end of file diff --git a/idea/testData/formatter/SingleLineFunctionLiteral.after.kt b/idea/testData/formatter/SingleLineFunctionLiteral.after.kt index 6924202c419..5b898ed18a2 100644 --- a/idea/testData/formatter/SingleLineFunctionLiteral.after.kt +++ b/idea/testData/formatter/SingleLineFunctionLiteral.after.kt @@ -4,5 +4,6 @@ fun test(some: (Int) -> Int) { fun foo() = test() { it } val function = test {(a: Int) -> a } val function1 = test { a : Int -> a } +val function2 = test { } // SET_TRUE: INSERT_WHITESPACES_IN_SIMPLE_ONE_LINE_METHOD \ No newline at end of file diff --git a/idea/testData/formatter/SingleLineFunctionLiteral.kt b/idea/testData/formatter/SingleLineFunctionLiteral.kt index ae2b67ff4a7..c0a9e8f12be 100644 --- a/idea/testData/formatter/SingleLineFunctionLiteral.kt +++ b/idea/testData/formatter/SingleLineFunctionLiteral.kt @@ -4,5 +4,6 @@ fun test(some: (Int) -> Int) { fun foo() = test() { it } val function = test { (a: Int) -> a } val function1 = test {a : Int -> a} +val function2 = test { } // SET_TRUE: INSERT_WHITESPACES_IN_SIMPLE_ONE_LINE_METHOD \ No newline at end of file