tests: apply official code style

#KT-38632 Fixed
This commit is contained in:
Dmitry Gridin
2020-04-28 15:51:57 +07:00
parent d8f9643650
commit 11a3482970
406 changed files with 1785 additions and 1525 deletions
+1 -2
View File
@@ -9,8 +9,7 @@ fun foo(arg: Boolean) {
if (arg) {
x = 1
}
}
catch (e: Exception) {
} catch (e: Exception) {
<caret>x = 2
}
}
+2 -4
View File
@@ -5,9 +5,7 @@ fun foo() {
val x: Int
try {
x = 1
}
catch (e: Exception) {
} catch (e: Exception) {
<caret>x = 2
}
finally {}
} finally {}
}
+3 -6
View File
@@ -5,14 +5,11 @@ fun foo() {
val x: Int
try {
x = 1
}
catch (e: RuntimeException) {
} catch (e: RuntimeException) {
<caret>x = 2
}
catch (e: Exception) {
} catch (e: Exception) {
x = 3
}
catch (e: Throwable) {
} catch (e: Throwable) {
x = 4
}
}
+1 -2
View File
@@ -10,8 +10,7 @@ fun foo() {
try {
val x = 2
x = 3
}
catch(e: Exception) {
} catch(e: Exception) {
<caret>x = 4
}
}
+1 -2
View File
@@ -5,8 +5,7 @@ fun foo() {
val x: Int
try {
x = 1
}
catch (e: Exception) {
} catch (e: Exception) {
<caret>x = 2
}
}