Replace appendln with appendLine in project

This commit is contained in:
Alexander Udalov
2020-06-09 21:09:45 +02:00
parent d1c88798df
commit 6e67e1e78d
76 changed files with 405 additions and 402 deletions
@@ -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)
}
}
}
@@ -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}")
}
}
@@ -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")
})
}