[IR] update testdata: print else -> ...

This commit is contained in:
Zalim Bashorov
2020-11-11 16:31:49 +03:00
committed by teamcityserver
parent 14dabed85a
commit 2dbd784a6a
66 changed files with 221 additions and 221 deletions
+5 -5
View File
@@ -2,7 +2,7 @@ fun test(i: Int): Int {
return when {
greater(arg0 = i, arg1 = 0) -> 1
less(arg0 = i, arg1 = 0) -> -1
true -> 0
else -> 0
}
}
@@ -10,7 +10,7 @@ fun testEmptyBranches1(flag: Boolean) {
when {
flag -> { // BLOCK
}
true -> true /*~> Unit */
else -> true /*~> Unit */
}
when {
flag -> true /*~> Unit */
@@ -21,11 +21,11 @@ fun testEmptyBranches2(flag: Boolean) {
when {
flag -> { // BLOCK
}
true -> true /*~> Unit */
else -> true /*~> Unit */
}
when {
flag -> true /*~> Unit */
true -> { // BLOCK
else -> { // BLOCK
}
}
}
@@ -34,7 +34,7 @@ fun testEmptyBranches3(flag: Boolean) {
when {
flag -> { // BLOCK
}
true -> true /*~> Unit */
else -> true /*~> Unit */
}
}