diff options
author | Vadim Mishenev <vad-mishenev@yandex.ru> | 2022-08-30 16:17:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-30 16:17:54 +0300 |
commit | c9f1d60af8776c14d35ed11f512c3c7b0dfad3a2 (patch) | |
tree | b1013542fddd5a3e036161d55da9728ef07e841a /plugins/base/src/test/kotlin/model | |
parent | a4bccbf8920a2f6f5fcf5bdf1f201d1129a05b62 (diff) | |
download | dokka-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.kt | 16 |
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" + } + } + } } |