Update tests according to new formatter behavior
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
fun foo(x: Boolean) {
|
||||
try {
|
||||
x
|
||||
} catch(e: <caret>Exception) {
|
||||
} catch (e: Exception) {
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -2,6 +2,6 @@ fun foo() {
|
||||
try {
|
||||
for (i in 1..100) {
|
||||
}
|
||||
} catch(e: Exception) {
|
||||
} catch (e: Exception) {
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
fun foo() {
|
||||
try {
|
||||
val x = 1
|
||||
} catch(e: Exception) {
|
||||
} catch (e: Exception) {
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ fun foo() {
|
||||
try {
|
||||
a = "aaa"
|
||||
b = "aaa"
|
||||
} catch(e: <selection>Exception</selection>) {
|
||||
} catch (e: <selection>Exception</selection>) {
|
||||
}
|
||||
|
||||
a.charAt(1)
|
||||
|
||||
@@ -2,6 +2,6 @@ fun foo() {
|
||||
try {
|
||||
"aaa"
|
||||
"aaa"
|
||||
} catch(e: <selection>Exception</selection>) {
|
||||
} catch (e: <selection>Exception</selection>) {
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
fun foo() {
|
||||
try {
|
||||
"aaa"
|
||||
} catch(e: <selection>Exception</selection>) {
|
||||
} catch (e: <selection>Exception</selection>) {
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -2,7 +2,7 @@ fun foo() {
|
||||
try {
|
||||
"aaa"
|
||||
"aaa"
|
||||
} catch(e: <selection>Exception</selection>) {
|
||||
} catch (e: <selection>Exception</selection>) {
|
||||
} finally {
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
fun foo() {
|
||||
try {
|
||||
"aaa"
|
||||
} catch(e: <selection>Exception</selection>) {
|
||||
} catch (e: <selection>Exception</selection>) {
|
||||
} finally {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user