diff --git a/idea/testData/codeInsight/postfix/try.kt.after b/idea/testData/codeInsight/postfix/try.kt.after index 273b004b150..08fe42805b9 100644 --- a/idea/testData/codeInsight/postfix/try.kt.after +++ b/idea/testData/codeInsight/postfix/try.kt.after @@ -1,6 +1,6 @@ fun foo(x: Boolean) { try { x - } catch(e: Exception) { + } catch (e: Exception) { } } diff --git a/idea/testData/codeInsight/postfix/tryOnFor.kt.after b/idea/testData/codeInsight/postfix/tryOnFor.kt.after index 347cb9d5691..6967dcf80b2 100644 --- a/idea/testData/codeInsight/postfix/tryOnFor.kt.after +++ b/idea/testData/codeInsight/postfix/tryOnFor.kt.after @@ -2,6 +2,6 @@ fun foo() { try { for (i in 1..100) { } - } catch(e: Exception) { + } catch (e: Exception) { } } diff --git a/idea/testData/codeInsight/postfix/tryOnStatement.kt.after b/idea/testData/codeInsight/postfix/tryOnStatement.kt.after index e130875643d..5d8bffa3d2f 100644 --- a/idea/testData/codeInsight/postfix/tryOnStatement.kt.after +++ b/idea/testData/codeInsight/postfix/tryOnStatement.kt.after @@ -1,6 +1,6 @@ fun foo() { try { val x = 1 - } catch(e: Exception) { + } catch (e: Exception) { } } diff --git a/idea/testData/codeInsight/surroundWith/tryCatch/moveDeclarationsOut.kt.after b/idea/testData/codeInsight/surroundWith/tryCatch/moveDeclarationsOut.kt.after index 5a533b6b302..e0215c4ccea 100644 --- a/idea/testData/codeInsight/surroundWith/tryCatch/moveDeclarationsOut.kt.after +++ b/idea/testData/codeInsight/surroundWith/tryCatch/moveDeclarationsOut.kt.after @@ -4,7 +4,7 @@ fun foo() { try { a = "aaa" b = "aaa" - } catch(e: Exception) { + } catch (e: Exception) { } a.charAt(1) diff --git a/idea/testData/codeInsight/surroundWith/tryCatch/multiExpression.kt.after b/idea/testData/codeInsight/surroundWith/tryCatch/multiExpression.kt.after index 584f80e1927..b30ee2e413d 100644 --- a/idea/testData/codeInsight/surroundWith/tryCatch/multiExpression.kt.after +++ b/idea/testData/codeInsight/surroundWith/tryCatch/multiExpression.kt.after @@ -2,6 +2,6 @@ fun foo() { try { "aaa" "aaa" - } catch(e: Exception) { + } catch (e: Exception) { } } \ No newline at end of file diff --git a/idea/testData/codeInsight/surroundWith/tryCatch/singleExpression.kt.after b/idea/testData/codeInsight/surroundWith/tryCatch/singleExpression.kt.after index d70b2a0ac1f..bd0e79a73a5 100644 --- a/idea/testData/codeInsight/surroundWith/tryCatch/singleExpression.kt.after +++ b/idea/testData/codeInsight/surroundWith/tryCatch/singleExpression.kt.after @@ -1,6 +1,6 @@ fun foo() { try { "aaa" - } catch(e: Exception) { + } catch (e: Exception) { } } \ No newline at end of file diff --git a/idea/testData/codeInsight/surroundWith/tryCatchFinally/multiExpression.kt.after b/idea/testData/codeInsight/surroundWith/tryCatchFinally/multiExpression.kt.after index 151829078b3..f50ddf13f27 100644 --- a/idea/testData/codeInsight/surroundWith/tryCatchFinally/multiExpression.kt.after +++ b/idea/testData/codeInsight/surroundWith/tryCatchFinally/multiExpression.kt.after @@ -2,7 +2,7 @@ fun foo() { try { "aaa" "aaa" - } catch(e: Exception) { + } catch (e: Exception) { } finally { } } \ No newline at end of file diff --git a/idea/testData/codeInsight/surroundWith/tryCatchFinally/singleExpression.kt.after b/idea/testData/codeInsight/surroundWith/tryCatchFinally/singleExpression.kt.after index 909df4945e4..cec4597efa7 100644 --- a/idea/testData/codeInsight/surroundWith/tryCatchFinally/singleExpression.kt.after +++ b/idea/testData/codeInsight/surroundWith/tryCatchFinally/singleExpression.kt.after @@ -1,7 +1,7 @@ fun foo() { try { "aaa" - } catch(e: Exception) { + } catch (e: Exception) { } finally { } } \ No newline at end of file diff --git a/idea/tests/org/jetbrains/kotlin/idea/codeInsight/smartEnter/SmartEnterTest.kt b/idea/tests/org/jetbrains/kotlin/idea/codeInsight/smartEnter/SmartEnterTest.kt index 33a04a0777d..c47d98ca51d 100644 --- a/idea/tests/org/jetbrains/kotlin/idea/codeInsight/smartEnter/SmartEnterTest.kt +++ b/idea/tests/org/jetbrains/kotlin/idea/codeInsight/smartEnter/SmartEnterTest.kt @@ -1229,7 +1229,7 @@ class SmartEnterTest : KotlinLightCodeInsightFixtureTestCase() { , """ try { - } catch(e: Exception) { + } catch (e: Exception) { }${" "} """ @@ -1243,7 +1243,7 @@ class SmartEnterTest : KotlinLightCodeInsightFixtureTestCase() { , """ try { - } catch() { + } catch () { } """ ) @@ -1256,7 +1256,7 @@ class SmartEnterTest : KotlinLightCodeInsightFixtureTestCase() { , """ try { - } catch() { + } catch () { } """ ) @@ -1269,7 +1269,7 @@ class SmartEnterTest : KotlinLightCodeInsightFixtureTestCase() { , """ try { - } catch() { + } catch () { } """ ) @@ -1282,7 +1282,7 @@ class SmartEnterTest : KotlinLightCodeInsightFixtureTestCase() { , """ try { - } catch(e: Exception) { + } catch (e: Exception) { } """ @@ -1297,7 +1297,7 @@ class SmartEnterTest : KotlinLightCodeInsightFixtureTestCase() { , """ try { - } catch(e: Exception) { + } catch (e: Exception) { } finally { }