From 31d28b36e3333bd6fba04f770f46729aa3008c96 Mon Sep 17 00:00:00 2001 From: Adam Semenenko <152864218+adam-enko@users.noreply.github.com> Date: Tue, 26 Nov 2024 13:03:21 +0100 Subject: [PATCH] log dokka config --- .../src/test/kotlin/KotlinMultiplatformIT.kt | 23 +++++++++---------- 1 file changed, 11 insertions(+), 12 deletions(-) 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()