diff --git a/dokka-integration-tests/gradle/src/test/kotlin/KotlinMultiplatformIT.kt b/dokka-integration-tests/gradle/src/test/kotlin/KotlinMultiplatformIT.kt index e1e54c0c79..b8c3334e13 100644 --- a/dokka-integration-tests/gradle/src/test/kotlin/KotlinMultiplatformIT.kt +++ b/dokka-integration-tests/gradle/src/test/kotlin/KotlinMultiplatformIT.kt @@ -46,22 +46,21 @@ class KotlinMultiplatformIT { val dokkaConfigurationJsons = project .findFiles { it.name == "dokka-configuration.json" } .joinToString("\n\n") { - buildString { - """ - --- - ${it.invariantSeparatorsPathString} - ${it.readText()} - --- - """.trimIndent() - }.prependIndent() + """ + --- + ${it.invariantSeparatorsPathString} + ${it.readText()} + --- + """.trimIndent() } withClue( """ - expectedHtml: ${expectedHtml.toUri()} - actualHtmlDir: ${actualHtmlDir.toUri()} - dokkaConfigurationJsons: $dokkaConfigurationJsons - """.trimIndent() + |expectedHtml: ${expectedHtml.toUri()} + |actualHtmlDir: ${actualHtmlDir.toUri()} + |dokkaConfigurationJsons: + |$dokkaConfigurationJsons + """.trimMargin() ) { val expectedFileTree = expectedHtml.toTreeString() val actualFileTree = actualHtmlDir.toTreeString()