From 65e69a8d204f873a4034810436649c3f02de3ad0 Mon Sep 17 00:00:00 2001 From: Marcin Aman Date: Thu, 14 May 2020 17:47:39 +0200 Subject: Divergent UI fixes --- plugins/base/src/test/kotlin/utils/TestUtils.kt | 3 --- 1 file changed, 3 deletions(-) (limited to 'plugins/base/src/test/kotlin/utils/TestUtils.kt') 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 Any?.assertIsInstance(name: String): T = this.let { it as? T } ?: throw AssertionError("$name should not be null") -fun List.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() -- cgit