aboutsummaryrefslogtreecommitdiff
path: root/plugins/base/src/test/kotlin/model
diff options
context:
space:
mode:
authorVadim Mishenev <vad-mishenev@yandex.ru>2022-08-30 16:17:54 +0300
committerGitHub <noreply@github.com>2022-08-30 16:17:54 +0300
commitc9f1d60af8776c14d35ed11f512c3c7b0dfad3a2 (patch)
treeb1013542fddd5a3e036161d55da9728ef07e841a /plugins/base/src/test/kotlin/model
parenta4bccbf8920a2f6f5fcf5bdf1f201d1129a05b62 (diff)
downloaddokka-c9f1d60af8776c14d35ed11f512c3c7b0dfad3a2.tar.gz
dokka-c9f1d60af8776c14d35ed11f512c3c7b0dfad3a2.tar.bz2
dokka-c9f1d60af8776c14d35ed11f512c3c7b0dfad3a2.zip
Fix missing space between Markdown elements (#2640)
Diffstat (limited to 'plugins/base/src/test/kotlin/model')
-rw-r--r--plugins/base/src/test/kotlin/model/CommentTest.kt16
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/base/src/test/kotlin/model/CommentTest.kt b/plugins/base/src/test/kotlin/model/CommentTest.kt
index 6a7b2d89..0742587a 100644
--- a/plugins/base/src/test/kotlin/model/CommentTest.kt
+++ b/plugins/base/src/test/kotlin/model/CommentTest.kt
@@ -251,4 +251,20 @@ class CommentTest : AbstractModelTest("/src/main/kotlin/comment/Test.kt", "comme
}
}
}
+
+ @Test
+ fun `should be space between Markdown nodes`() {
+ inlineModelTest(
+ """
+ |/**
+ | * Rotates paths by `amount` **radians** around (`x`, `y`).
+ | */
+ |val property = "test"
+ """
+ ) {
+ with((this / "comment" / "property").cast<DProperty>()) {
+ comments() equals "Rotates paths by amount radians around (x, y).\n"
+ }
+ }
+ }
}