[IR] update testdata: print else -> ...
This commit is contained in:
committed by
teamcityserver
parent
14dabed85a
commit
2dbd784a6a
+5
-5
@@ -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 */
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user