diff --git a/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/codeInsight/smartEnter/SmartEnterTest.kt b/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/codeInsight/smartEnter/SmartEnterTest.kt index 33a04a0777d8..c47d98ca51dc 100644 --- a/plugins/kotlin/idea/tests/test/org/jetbrains/kotlin/idea/codeInsight/smartEnter/SmartEnterTest.kt +++ b/plugins/kotlin/idea/tests/test/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 { } diff --git a/plugins/kotlin/idea/tests/testData/codeInsight/postfix/try.kt.after b/plugins/kotlin/idea/tests/testData/codeInsight/postfix/try.kt.after index 273b004b1500..08fe42805b90 100644 --- a/plugins/kotlin/idea/tests/testData/codeInsight/postfix/try.kt.after +++ b/plugins/kotlin/idea/tests/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/plugins/kotlin/idea/tests/testData/codeInsight/postfix/tryOnFor.kt.after b/plugins/kotlin/idea/tests/testData/codeInsight/postfix/tryOnFor.kt.after index 347cb9d56919..6967dcf80b2f 100644 --- a/plugins/kotlin/idea/tests/testData/codeInsight/postfix/tryOnFor.kt.after +++ b/plugins/kotlin/idea/tests/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/plugins/kotlin/idea/tests/testData/codeInsight/postfix/tryOnStatement.kt.after b/plugins/kotlin/idea/tests/testData/codeInsight/postfix/tryOnStatement.kt.after index e130875643df..5d8bffa3d2f4 100644 --- a/plugins/kotlin/idea/tests/testData/codeInsight/postfix/tryOnStatement.kt.after +++ b/plugins/kotlin/idea/tests/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/plugins/kotlin/idea/tests/testData/codeInsight/surroundWith/tryCatch/moveDeclarationsOut.kt.after b/plugins/kotlin/idea/tests/testData/codeInsight/surroundWith/tryCatch/moveDeclarationsOut.kt.after index 5a533b6b302b..e0215c4cceac 100644 --- a/plugins/kotlin/idea/tests/testData/codeInsight/surroundWith/tryCatch/moveDeclarationsOut.kt.after +++ b/plugins/kotlin/idea/tests/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/plugins/kotlin/idea/tests/testData/codeInsight/surroundWith/tryCatch/multiExpression.kt.after b/plugins/kotlin/idea/tests/testData/codeInsight/surroundWith/tryCatch/multiExpression.kt.after index 584f80e19277..b30ee2e413dc 100644 --- a/plugins/kotlin/idea/tests/testData/codeInsight/surroundWith/tryCatch/multiExpression.kt.after +++ b/plugins/kotlin/idea/tests/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/plugins/kotlin/idea/tests/testData/codeInsight/surroundWith/tryCatch/singleExpression.kt.after b/plugins/kotlin/idea/tests/testData/codeInsight/surroundWith/tryCatch/singleExpression.kt.after index d70b2a0ac1f8..bd0e79a73a5c 100644 --- a/plugins/kotlin/idea/tests/testData/codeInsight/surroundWith/tryCatch/singleExpression.kt.after +++ b/plugins/kotlin/idea/tests/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/plugins/kotlin/idea/tests/testData/codeInsight/surroundWith/tryCatchFinally/multiExpression.kt.after b/plugins/kotlin/idea/tests/testData/codeInsight/surroundWith/tryCatchFinally/multiExpression.kt.after index 151829078b3f..f50ddf13f270 100644 --- a/plugins/kotlin/idea/tests/testData/codeInsight/surroundWith/tryCatchFinally/multiExpression.kt.after +++ b/plugins/kotlin/idea/tests/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/plugins/kotlin/idea/tests/testData/codeInsight/surroundWith/tryCatchFinally/singleExpression.kt.after b/plugins/kotlin/idea/tests/testData/codeInsight/surroundWith/tryCatchFinally/singleExpression.kt.after index 909df4945e44..cec4597efa73 100644 --- a/plugins/kotlin/idea/tests/testData/codeInsight/surroundWith/tryCatchFinally/singleExpression.kt.after +++ b/plugins/kotlin/idea/tests/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