diff options
author | Andrzej Ratajczak <andrzej.ratajczak98@gmail.com> | 2020-07-14 19:22:17 +0200 |
---|---|---|
committer | Sebastian Sellmair <34319766+sellmair@users.noreply.github.com> | 2020-07-15 16:01:44 +0200 |
commit | dcd4c1c5bc13e7bb058bcd055aa2b02d7d39e9c1 (patch) | |
tree | 7ff9003f55c5890ca5e7d47a0f2adc58ee363201 /plugins/base/src/test/kotlin/markdown/ParserTest.kt | |
parent | ac19f61e253e9d168898fe3a0f64221b697ad8be (diff) | |
download | dokka-dcd4c1c5bc13e7bb058bcd055aa2b02d7d39e9c1.tar.gz dokka-dcd4c1c5bc13e7bb058bcd055aa2b02d7d39e9c1.tar.bz2 dokka-dcd4c1c5bc13e7bb058bcd055aa2b02d7d39e9c1.zip |
Fix presenting inline code in KDoc
Diffstat (limited to 'plugins/base/src/test/kotlin/markdown/ParserTest.kt')
-rw-r--r-- | plugins/base/src/test/kotlin/markdown/ParserTest.kt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/base/src/test/kotlin/markdown/ParserTest.kt b/plugins/base/src/test/kotlin/markdown/ParserTest.kt index 332c9766..ee6170c2 100644 --- a/plugins/base/src/test/kotlin/markdown/ParserTest.kt +++ b/plugins/base/src/test/kotlin/markdown/ParserTest.kt @@ -808,7 +808,7 @@ class ParserTest : KDocTest() { Description( P( listOf( - Code(listOf(Text("Some code"))), + CodeInline(listOf(Text("Some code"))), Text(" Sample text") ) ) @@ -837,7 +837,7 @@ class ParserTest : KDocTest() { Description( P( listOf( - Code( + CodeBlock( listOf( Text("val x: Int = 0"), Br, Text("val y: String = \"Text\""), Br, Br, |