Update tests according to new formatter behavior

This commit is contained in:
Dmitry Jemerov
2017-06-14 11:40:41 +02:00
parent 8c6f93b899
commit b1f84676d1
9 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
fun foo(x: Boolean) {
try {
x
} catch(e: <caret>Exception) {
} catch (e: Exception) {
}
}
+1 -1
View File
@@ -2,6 +2,6 @@ fun foo() {
try {
for (i in 1..100) {
}
} catch(e: Exception) {
} catch (e: Exception) {
}
}
+1 -1
View File
@@ -1,6 +1,6 @@
fun foo() {
try {
val x = 1
} catch(e: Exception) {
} catch (e: Exception) {
}
}
@@ -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>) {
}
}
@@ -2,7 +2,7 @@ fun foo() {
try {
"aaa"
"aaa"
} catch(e: <selection>Exception</selection>) {
} catch (e: <selection>Exception</selection>) {
} finally {
}
}
@@ -1,7 +1,7 @@
fun foo() {
try {
"aaa"
} catch(e: <selection>Exception</selection>) {
} catch (e: <selection>Exception</selection>) {
} finally {
}
}