From c9f1d60af8776c14d35ed11f512c3c7b0dfad3a2 Mon Sep 17 00:00:00 2001 From: Vadim Mishenev Date: Tue, 30 Aug 2022 16:17:54 +0300 Subject: Fix missing space between Markdown elements (#2640) --- plugins/base/src/test/kotlin/model/CommentTest.kt | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'plugins/base/src/test/kotlin/model') 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()) { + comments() equals "Rotates paths by amount radians around (x, y).\n" + } + } + } } -- cgit