Replace appendln with appendLine in project
This commit is contained in:
+4
-4
@@ -51,12 +51,12 @@ abstract class AbstractKotlinTypeAliasByExpansionShortNameIndexTest : KotlinLigh
|
||||
val result = index.get(key, project, scope)
|
||||
if (value !in result.map { it.name }) {
|
||||
Assert.fail(buildString {
|
||||
appendln("Record $record not found in index")
|
||||
appendln("Index contents:")
|
||||
appendLine("Record $record not found in index")
|
||||
appendLine("Index contents:")
|
||||
index.getAllKeys(project).asSequence().forEach {
|
||||
appendln("KEY: $it")
|
||||
appendLine("KEY: $it")
|
||||
index.get(it, project, scope).forEach {
|
||||
appendln(" ${it.name}")
|
||||
appendLine(" ${it.name}")
|
||||
}
|
||||
}
|
||||
})
|
||||
|
||||
@@ -251,7 +251,7 @@ object UltraLightChecker {
|
||||
val initializingClass = initializingClass ?: return name
|
||||
|
||||
return buildString {
|
||||
appendln("$name {")
|
||||
appendLine("$name {")
|
||||
append(initializingClass.renderMembers())
|
||||
append("}")
|
||||
}
|
||||
@@ -272,7 +272,7 @@ object UltraLightChecker {
|
||||
append(typeParameters.renderTypeParams())
|
||||
append(extendsList.renderRefList("extends"))
|
||||
append(implementsList.renderRefList("implements"))
|
||||
appendln(" {")
|
||||
appendLine(" {")
|
||||
|
||||
if (isEnum) {
|
||||
append(
|
||||
|
||||
Reference in New Issue
Block a user