aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/utils/TestUtils.kt
diff options
context:
space:
mode:
authorMarcin Aman <maman@virtuslab.com>2020-05-14 17:47:39 +0200
committerPaweł Marks <Kordyjan@users.noreply.github.com>2020-05-19 09:56:32 +0200
commit65e69a8d204f873a4034810436649c3f02de3ad0 (patch)
tree392ec525066e524bb8ee5693d3934fe408937b37 /plugins/base/src/test/kotlin/utils/TestUtils.kt
parentaddf5db5382bc99caf842d543e0b417b5e997dd9 (diff)
downloaddokka-65e69a8d204f873a4034810436649c3f02de3ad0.tar.gz
dokka-65e69a8d204f873a4034810436649c3f02de3ad0.tar.bz2
dokka-65e69a8d204f873a4034810436649c3f02de3ad0.zip
Divergent UI fixes
Diffstat (limited to 'plugins/base/src/test/kotlin/utils/TestUtils.kt')
-rw-r--r--plugins/base/src/test/kotlin/utils/TestUtils.kt3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/base/src/test/kotlin/utils/TestUtils.kt b/plugins/base/src/test/kotlin/utils/TestUtils.kt
index 41c245e6..6bc624d6 100644
--- a/plugins/base/src/test/kotlin/utils/TestUtils.kt
+++ b/plugins/base/src/test/kotlin/utils/TestUtils.kt
@@ -43,9 +43,6 @@ interface AssertDSL {
inline fun <reified T : Any> Any?.assertIsInstance(name: String): T =
this.let { it as? T } ?: throw AssertionError("$name should not be null")
-fun List<DocumentationNode>.commentsToString(): String =
- this.flatMap { it.children }.joinToString(separator = "\n") { it.root.docTagSummary() }
-
fun TagWrapper.text(): String = when (val t = this) {
is NamedTagWrapper -> "${t.name}: [${t.root.text()}]"
else -> t.root.text()