Skip to content

Commit

Permalink
log dokka config
Browse files Browse the repository at this point in the history
  • Loading branch information
adam-enko committed Nov 26, 2024
1 parent 9e7131c commit 31d28b3
Showing 1 changed file with 11 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand Down

0 comments on commit 31d28b3

Please sign in to comment.