[IR] update testdata: print whole string concatenation at one line
This commit is contained in:
committed by
teamcityserver
parent
91c9d9d25c
commit
21da2b0350
@@ -77,8 +77,7 @@ fun testContinueDoWhile() {
|
||||
when {
|
||||
greater(arg0 = k, arg1 = 2) -> continue
|
||||
}
|
||||
s = s.plus(other = k +
|
||||
";")
|
||||
s = s.plus(other = k + ";")
|
||||
// } while (less(arg0 = k, arg1 = 10))
|
||||
}
|
||||
when {
|
||||
|
||||
+3
-7
@@ -23,18 +23,14 @@ const val testConst4: String
|
||||
get
|
||||
|
||||
fun test1(x: Int): String {
|
||||
return "🤗" +
|
||||
x
|
||||
return "🤗" + x
|
||||
}
|
||||
|
||||
fun test2(x: Int): String {
|
||||
return x +
|
||||
"🤗"
|
||||
return x + "🤗"
|
||||
}
|
||||
|
||||
fun test3(x: Int): String {
|
||||
return x +
|
||||
"🤗" +
|
||||
x
|
||||
return x + "🤗" + x
|
||||
}
|
||||
|
||||
|
||||
+1
-2
@@ -10,8 +10,7 @@ object A {
|
||||
private get
|
||||
|
||||
private val b: String
|
||||
field = "1234" +
|
||||
<this>.<get-a>()
|
||||
field = "1234" + <this>.<get-a>()
|
||||
private get
|
||||
|
||||
private val c: Int
|
||||
|
||||
@@ -29,9 +29,7 @@ abc
|
||||
get
|
||||
|
||||
val test6: String
|
||||
field = <get-test1>() +
|
||||
" " +
|
||||
foo()
|
||||
field = <get-test1>() + " " + foo()
|
||||
get
|
||||
|
||||
val test7: String
|
||||
|
||||
Reference in New Issue
Block a user