Replace appendln with appendLine in project
This commit is contained in:
+3
-3
@@ -59,9 +59,9 @@ abstract class AbstractAsyncStackTraceTest : KotlinDescriptorTestCaseWithSteppin
|
||||
}
|
||||
|
||||
private fun renderAsyncStackTrace(trace: List<StackFrameItem>) = buildString {
|
||||
appendln("Async stack trace:")
|
||||
appendLine("Async stack trace:")
|
||||
for (item in trace) {
|
||||
append(MARGIN).appendln(item.toString())
|
||||
append(MARGIN).appendLine(item.toString())
|
||||
val declaredFields = listDeclaredFields(item.javaClass)
|
||||
|
||||
@Suppress("UNCHECKED_CAST")
|
||||
@@ -77,7 +77,7 @@ abstract class AbstractAsyncStackTraceTest : KotlinDescriptorTestCaseWithSteppin
|
||||
val name = descriptor.calcValueName()
|
||||
val value = descriptor.calcValue(evaluationContext)
|
||||
|
||||
append(MARGIN).append(MARGIN).append(name).append(" = ").appendln(value)
|
||||
append(MARGIN).append(MARGIN).append(name).append(" = ").appendLine(value)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+1
-1
@@ -52,7 +52,7 @@ abstract class AbstractCoroutineDumpTest : KotlinDescriptorTestCaseWithStepping(
|
||||
|
||||
private fun stringDump(infoData: List<CoroutineInfoData>) = buildString {
|
||||
infoData.forEach {
|
||||
appendln("\"${it.key.name}\", state: ${it.key.state}")
|
||||
appendLine("\"${it.key.name}\", state: ${it.key.state}")
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -117,7 +117,7 @@ abstract class AbstractFileRankingTest : LowLevelDebuggerTestBase() {
|
||||
|
||||
if (problems.isNotEmpty()) {
|
||||
throw AssertionError(buildString {
|
||||
appendln("There were association errors:").appendln()
|
||||
appendLine("There were association errors:").appendLine()
|
||||
problems.joinTo(this, "\n\n")
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user